提交 0702a01f 编写于 作者: A Andrey Grodzovsky 提交者: Alex Deucher

drm/amd/display: Set cursor pitch to cursor width (in pixels).

Signed-off-by: NAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: NJordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 ce75805e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册