diff options
author | Harry Wentland <harry.wentland@amd.com> | 2024-04-04 11:54:40 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 09:48:49 -0400 |
commit | e7f5f9d6222ec9264b160b622544cd7e1091e4b4 (patch) | |
tree | 0a6f865cd5846ed6df6351f7f2c2b3148ea824ab /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
parent | f63f86b5affcc2abd1162f11824b9386fc06ac94 (diff) |
drm/amd/display: Set cursor attributes before position
HWSS set_cursor_attributes copies the stream's cursor attributes
to the hubp cursor attributes. set_cursor_position might attempt
to program the cursor attributes but will program them wrong if
they're not set correctly. We need to call HWSS set_cursor_attributes
first to ensure hubp has the right attributes to be programmed.
Reviewed-by: Agustin Gutierrez <agustin.gutierrez@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@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/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions