]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/dce8: Use cursor_set2 hook for enabling / disabling the HW cursor
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Oct 2015 03:26:15 +0000 (23:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2015 20:16:32 +0000 (16:16 -0400)
commit2772c45d8f605bfe631f45ef654d2a0d16e27e6f
tree7a47db203be79e418b74c98155b1cf156c49d106
parentc1d60db71ae2255e70e5076f49bf8aa8e1249331
drm/amdgpu/dce8: 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.

Port of radeon commits:
2b77530a694633583f8d7330cd25b2fc68b1b03d
bcd6dc80d0b4ed4180c4e688e15f67b965fdb2fc

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c