summaryrefslogtreecommitdiffstats
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
parentf4e45d02e4135043fe98bc21be38527c516ad990 (diff)
downloadop-kernel-dev-d39c3b895876427c5083a936e00f3f5b7f0fc1b3.zip
op-kernel-dev-d39c3b895876427c5083a936e00f3f5b7f0fc1b3.tar.gz
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 e2b92c4..d4e6e6e 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
OpenPOWER on IntegriCloud