drm/radeon: Don't read from CP ring write pointer registers.
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 13 Sep 2011 09:27:35 +0000 (11:27 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 14 Sep 2011 12:35:35 +0000 (13:35 +0100)
Apparently this doesn't always work reliably, e.g. at resume time.

Just initialize to 0, so the ring is considered empty.

Tested with hibernation on Sumo and Cayman cards.

Should fix https://bugs.launchpad.net/ubuntu/+source/linux/+bug/820746/ .

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found