drm/amd/display: Set cursor pitch to cursor width (in pixels).
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ce75805e0a
commit
0702a01f97
@ -96,6 +96,8 @@ static void dm_set_cursor(
|
||||
attributes.rotation_angle = 0;
|
||||
attributes.attribute_flags.value = 0;
|
||||
|
||||
attributes.pitch = attributes.width;
|
||||
|
||||
x = amdgpu_crtc->cursor_x;
|
||||
y = amdgpu_crtc->cursor_y;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user