drm/radeon: fix fence driver for dma ring when wb is disabled
authorJerome Glisse <jglisse@redhat.com>
Wed, 12 Dec 2012 21:43:15 +0000 (16:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Dec 2012 22:16:51 +0000 (17:16 -0500)
commit86a1881d08f65a42c17071a59c0088dbe2870246
treecdb9a18960aaf5e1bf851ff752b6e2d10d4fad7a
parent5aa709be7e60a8296859766935f92bce51465341
drm/radeon: fix fence driver for dma ring when wb is disabled

The dma ring can't write to register thus have to write to memory
its fence value. This ensure that it doesn't try to use scratch
register for dma ring fence driver.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=58166

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_fence.c