]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Use cursor_set2 hook for enabling / disabling the HW cursor
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 18 Nov 2014 09:00:08 +0000 (18:00 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Nov 2014 16:11:41 +0000 (11:11 -0500)
commitaec28b4efcb10805d6e2e3ada120ee2bb64cf0df
treebe63de0ed5b1fe8447f683a5d02741d377b07b35
parent7a38bb5ba010a395a029ceadd32070c3e59229b0
drm/radeon: Use cursor_set2 hook for enabling / disabling the HW cursor

The cursor_set2 hook provides the cursor hotspot position within the
cursor image. When the hotspot position changes, we can adjust the cursor
position such that the hotspot doesn't move on the screen. This prevents
the cursor from appearing to intermittently jump around on the screen
when the position of the hotspot within the cursor image changes.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_cursor.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_mode.h