diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2021-11-02 21:27:30 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-22 22:45:01 +0300 |
commit | a53b554b56e0326edb2ddbbf8c76743191f7819c (patch) | |
tree | 9be0deedd1d747c27c284b8a606493a09e553854 /drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c | |
parent | c09bb36dd1230838d49a5ebf409df804a5ebfdaa (diff) | |
download | linux-a53b554b56e0326edb2ddbbf8c76743191f7819c.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c')
0 files changed, 0 insertions, 0 deletions