]> 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)
commit2b77530a694633583f8d7330cd25b2fc68b1b03d
treebe63de0ed5b1fe8447f683a5d02741d377b07b35
parentc99a801b20bb06e56b0c795a13e86af18ab40312
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