aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/avivod.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2009-09-28 18:34:43 +0200
committerDave Airlie <airlied@linux.ie>2009-09-29 11:15:54 +1000
commitd39c3b895876427c5083a936e00f3f5b7f0fc1b3 (patch)
tree1f57be660f35c99ef6d182d2bf8397a818c8f8d0 /drivers/gpu/drm/radeon/avivod.h
parentdrm: fix radeon DRM warnings when !CONFIG_DEBUG_FS (diff)
downloadlinux-dev-d39c3b895876427c5083a936e00f3f5b7f0fc1b3.tar.xz
linux-dev-d39c3b895876427c5083a936e00f3f5b7f0fc1b3.zip
drm/radeon/kms: Convert RV515 to new init path and associated cleanup
Convert the rv515 asic support to new init path also add an explanation in radeon.h about the new init path. There is also few cleanups associated with this change (others asic calling rv515 helper functions). Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/radeon/avivod.h')
-rw-r--r--drivers/gpu/drm/radeon/avivod.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/radeon/avivod.h b/drivers/gpu/drm/radeon/avivod.h
index e2b92c445bab..d4e6e6e4a938 100644
--- a/drivers/gpu/drm/radeon/avivod.h
+++ b/drivers/gpu/drm/radeon/avivod.h
@@ -57,13 +57,4 @@
#define VGA_RENDER_CONTROL 0x0300
#define VGA_VSTATUS_CNTL_MASK 0x00030000
-/* AVIVO disable VGA rendering */
-static inline void radeon_avivo_vga_render_disable(struct radeon_device *rdev)
-{
- u32 vga_render;
- vga_render = RREG32(VGA_RENDER_CONTROL);
- vga_render &= ~VGA_VSTATUS_CNTL_MASK;
- WREG32(VGA_RENDER_CONTROL, vga_render);
-}
-
#endif