mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dmub
Nicholas Kazlauskas a53b554b56 drm/amd/display: Only flush delta from last command execution
[Why]
We're currently flushing commands that had been previously been
flushed or are currently being processed by the DMCUB when we don't
immediately wait for idle after command execution.

[How]
Avoiding reflushing the data by keeping track of the last wptr.

We'll treat this as the actual rptr by creating a copy of the inbox
and modifying the copy's rptr.

Reviewed-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-11-22 14:45:01 -05:00
..
inc drm/amd/display: To support sending TPS3 pattern when restoring link 2021-11-17 16:58:10 -05:00
src drm/amd/display: Only flush delta from last command execution 2021-11-22 14:45:01 -05:00
dmub_srv_stat.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dmub_srv.h drm/amd/display: Only flush delta from last command execution 2021-11-22 14:45:01 -05:00