Revert "drm/amdgpu: Only update the CUR_SIZE register when necessary"
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 11 Jan 2017 09:27:25 +0000 (18:27 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jan 2017 17:03:44 +0000 (12:03 -0500)
commit69bcc0b7140c30de552aa3ef08322295862e8e2f
tree1455f4151f71be3a49143416ac631adb3c6daf8d
parentab8db87b8256e13a62f10af1d32f5fc233c398cc
Revert "drm/amdgpu: Only update the CUR_SIZE register when necessary"

This reverts commits 7c83d7abc9997cf1efac2c0ce384b5e8453ee870 and
a1f49cc179ce6b7b7758ae3ff5cdb138d0ee0f56.

They caused the HW cursor to disappear under various circumstances in
the wild. I wasn't able to reproduce any of them, and I'm not sure
what's going on. But those changes aren't a big deal anyway, so let's
just revert for now.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=191291
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99143
Acked-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