linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Harry Wentland 2a8f6ccb66 drm/amd/display: Clean up cursor code
This will also fix disappearing cursor after resume.

With this change we'll set cursor attributes, as well as
cursor position on every update. The impact is minor.

These are sample logs that show timestamps at beginning
and end of atomic_check, commit_tail, handle_cursor_update,
and before and after cursor_attribute and cursor_position
calls:

[   66.800353] hwhw: begin of check
[   66.800377] hwhw: end of check
[   66.800428] hwhw: begin of commit_tail
[   66.800441] hwhw: begin of cursor
[   66.800449] hwhw: begin of cursor_attr
[   66.800468] hwhw: end of cursor_attr
[   66.800484] hwhw: end of cursor_positionr
[   66.800501] hwhw: end of commit_tail
[   66.807139] hwhw: begin of check
[   66.807160] hwhw: end of check
[   66.807206] hwhw: begin of commit_tail
[   66.807217] hwhw: begin of cursor
[   66.807225] hwhw: begin of cursor_attr
[   66.807357] hwhw: end of cursor_attr
[   66.807374] hwhw: end of cursor_positionr
[   66.807392] hwhw: end of commit_tail

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 18:16:17 -04:00
..
amdgpu_dm drm/amd/display: Clean up cursor code 2017-09-26 18:16:17 -04:00
dc drm/amd/display: Implement tmz surface. 2017-09-26 18:16:16 -04:00
include drm/amd/display: update predefined latency for Rv1_F0 2017-09-26 18:16:15 -04:00
modules drm/amd/display: Rename dc_stream to dc_stream_state 2017-09-26 18:16:04 -04:00
Kconfig drm/amd/display: Limit DCN to x86 arch 2017-09-26 18:07:32 -04:00
Makefile drm/amd/dc: Add dc display driver (v2) 2017-09-26 17:01:32 -04:00