OSDN Git Service

drm/amdgpu/dce8: Re-show the cursor after a modeset (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Oct 2015 03:34:57 +0000 (23:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2015 20:16:32 +0000 (16:16 -0400)
commitfd70cf63e24a0cf3105853e3b59eaa52d8b9df17
tree5f243a734b1cdf4a34c5ec0280eace7f09622b2f
parent77ed35b889e38775649ed985048cac8c134cd3a3
drm/amdgpu/dce8: Re-show the cursor after a modeset (v2)

Setting a mode seems to clear the cursor registers, so we need to
re-program them to make sure the cursor is visible.

Port of radeon commit:
6d3759fac636028849f3bbec80c4b77e9bfdb1d2

v2: change radeon reference in error message

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