drm/radeon: use inline functions to calc sa_bo addr
authorChristian König <deathsimple@vodafone.de>
Wed, 9 May 2012 13:34:49 +0000 (15:34 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 9 May 2012 16:22:31 +0000 (17:22 +0100)
commitdd8bea2111ab80ecb640183d00c383e03554509d
treed8aaab132b65d5a14fea7f1084c9a2b806a10395
parent8a47cc9ec1249eefd600adb273148c62879a560d
drm/radeon: use inline functions to calc sa_bo addr

Instead of hacking the calculation multiple times.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_gart.c
drivers/gpu/drm/radeon/radeon_object.h
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/radeon/radeon_semaphore.c