drm/amdgpu: Only update the CUR_SIZE register when necessary
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 27 Oct 2016 08:44:07 +0000 (17:44 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 23:08:28 +0000 (18:08 -0500)
commit7c83d7abc9997cf1efac2c0ce384b5e8453ee870
tree5c3a608af23fa7514a65449ff0c1a66b424275b0
parent8b02cde994e3025b6886c82eac6cd1e7bc4d1fe9
drm/amdgpu: Only update the CUR_SIZE register when necessary

Normally only necessary when the cursor size changes.

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