aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-18 21:40:44 -0400
committerDave Airlie <airlied@redhat.com>2008-06-18 21:40:44 -0400
commit70b13d510fc9d137e362b7db3ac5b14b50d78477 (patch)
treeb3b27f93d29db85cdb3a15bf744ef7b61cd34976 /drivers/char/drm/radeon_drv.h
parent9156cf09f56150ed89f77eaa4c386a07789776a0 (diff)
drm/r500: add support for AGP based cards.
AGP registers weren't programmed properly for r500 cards. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/drm/radeon_drv.h')
-rw-r--r--drivers/char/drm/radeon_drv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_drv.h b/drivers/char/drm/radeon_drv.h
index d0dc47cee6c9..f43e1f9b9550 100644
--- a/drivers/char/drm/radeon_drv.h
+++ b/drivers/char/drm/radeon_drv.h
@@ -522,9 +522,13 @@ extern int r300_do_cp_cmdbuf(struct drm_device * dev,
522 522
523#define RV515_MC_FB_LOCATION 0x01 523#define RV515_MC_FB_LOCATION 0x01
524#define RV515_MC_AGP_LOCATION 0x02 524#define RV515_MC_AGP_LOCATION 0x02
525#define RV515_MC_AGP_BASE 0x03
526#define RV515_MC_AGP_BASE_2 0x04
525 527
526#define R520_MC_FB_LOCATION 0x04 528#define R520_MC_FB_LOCATION 0x04
527#define R520_MC_AGP_LOCATION 0x05 529#define R520_MC_AGP_LOCATION 0x05
530#define R520_MC_AGP_BASE 0x06
531#define R520_MC_AGP_BASE_2 0x07
528 532
529#define RADEON_MPP_TB_CONFIG 0x01c0 533#define RADEON_MPP_TB_CONFIG 0x01c0
530#define RADEON_MEM_CNTL 0x0140 534#define RADEON_MEM_CNTL 0x0140