drm/radeon/kms: use helper functions for fence read/write
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 13 Jun 2011 21:39:06 +0000 (17:39 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Jun 2011 23:30:04 +0000 (09:30 +1000)
commitb81157d016a48b8025ccfcb286827679b35f16aa
treec5097ff1d8b4af1be98f58302ba7c80d06d7bb73
parent11b0a5b89adbfaf4e7d31f2482f49471dd983692
drm/radeon/kms: use helper functions for fence read/write

The existing code assumed scratch registers in a number
of places while in most cases we are be using writeback
and events rather than scratch registers.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fence.c