aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2011-10-13 19:08:47 -0400
committerDave Airlie <airlied@redhat.com>2011-10-18 04:53:05 -0400
commitce580fab739c815e25d13bae62f96ba7251f6e2e (patch)
treefb8d0e0e4c678b5a14198a0c65cd579aca039ad1 /drivers/gpu/drm/radeon/r600.c
parentcbdd45015af78ec9e75ed7a3df8b76048c4d289f (diff)
drm/radeon: Move more code out of line
With this patch I'm only about 50k larger with DRM debugging enables (why is that enabled by default?!?), and slightly smaller without. [airlied: moved r100.c additions to radeon_ring.c] Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r--drivers/gpu/drm/radeon/r600.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 334aee6eab7c..c4de1610088c 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -3138,7 +3138,7 @@ int r600_irq_set(struct radeon_device *rdev)
3138 return 0; 3138 return 0;
3139} 3139}
3140 3140
3141static inline void r600_irq_ack(struct radeon_device *rdev) 3141static void r600_irq_ack(struct radeon_device *rdev)
3142{ 3142{
3143 u32 tmp; 3143 u32 tmp;
3144 3144
@@ -3239,7 +3239,7 @@ void r600_irq_disable(struct radeon_device *rdev)
3239 r600_disable_interrupt_state(rdev); 3239 r600_disable_interrupt_state(rdev);
3240} 3240}
3241 3241
3242static inline u32 r600_get_ih_wptr(struct radeon_device *rdev) 3242static u32 r600_get_ih_wptr(struct radeon_device *rdev)
3243{ 3243{
3244 u32 wptr, tmp; 3244 u32 wptr, tmp;
3245 3245