diff options
author | Dave Airlie <airlied@redhat.com> | 2008-06-19 11:40:44 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-19 11:40:44 +1000 |
commit | 70b13d510fc9d137e362b7db3ac5b14b50d78477 (patch) | |
tree | b3b27f93d29db85cdb3a15bf744ef7b61cd34976 /drivers/char/drm/radeon_drv.h | |
parent | 9156cf09f56150ed89f77eaa4c386a07789776a0 (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_drv.h b/drivers/char/drm/radeon_drv.h index d0dc47cee6c..f43e1f9b955 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, #define RV515_MC_FB_LOCATION 0x01 #define RV515_MC_AGP_LOCATION 0x02 +#define RV515_MC_AGP_BASE 0x03 +#define RV515_MC_AGP_BASE_2 0x04 #define R520_MC_FB_LOCATION 0x04 #define R520_MC_AGP_LOCATION 0x05 +#define R520_MC_AGP_BASE 0x06 +#define R520_MC_AGP_BASE_2 0x07 #define RADEON_MPP_TB_CONFIG 0x01c0 #define RADEON_MEM_CNTL 0x0140 |