mirror_ubuntu-kernels/drivers/gpu/drm/amd
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
..
acp
amdgpu drm/amdgpu: Pin MMIO/DOORBELL BO's in GTT domain 2021-11-22 14:45:01 -05:00
amdkfd drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
display drm/amd/display: Only flush delta from last command execution 2021-11-22 14:45:01 -05:00
include drm/amdkfd: remove kgd_dev declaration and initialization 2021-11-17 16:58:03 -05:00
pm drm/amd/pm: add GFXCLK/SCLK clocks level print support for APUs 2021-11-17 17:10:10 -05:00