diff options
author | Zhikai Zhai <zhikai.zhai@amd.com> | 2025-01-09 16:11:48 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-12 21:02:59 -0500 |
commit | 4a4077b4b63a8404efd6d37fc2926f03fb25bace (patch) | |
tree | 9e90fb2ad753a5efef6484f47d060ec6a7b6fb46 /drivers/gpu/drm/amd/display/dmub/src | |
parent | 6a7fde433231c18164c117592d3e18ced648ad58 (diff) |
drm/amd/display: Update Cursor request mode to the beginning prefetch always
[Why]
The double buffer cursor registers is updated by the cursor
vupdate event. There is a gap between vupdate and cursor data
fetch if cursor fetch data reletive to cursor position.
Cursor corruption will happen if we update the cursor surface
in this gap.
[How]
Modify the cursor request mode to the beginning prefetch always
and avoid wraparound calculation issues.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Zhikai Zhai <zhikai.zhai@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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/dmub/src')
0 files changed, 0 insertions, 0 deletions