diff options
author | Dave Airlie <airlied@linux.ie> | 2007-05-08 01:19:23 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-05-08 01:19:23 -0400 |
commit | f2b04cd219e5c0f1214c0eeeec814ddd08a12c1b (patch) | |
tree | fa114ea7f96b5985e10c7f8696d635b074649bab /drivers/char/drm/drmP.h | |
parent | 5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff) |
drm/radeon: upgrade to 1.27 - make PCI GART more flexible
radeon: make PCI GART aperture size variable, but making table size variable
This is precursor to getting a TTM backend for this stuff, and also
allows the PCI table to be allocated at fb 0
radeon: add support for reverse engineered xpress200m
The IGPGART setup code was traced using mmio-trace on fglrx by myself
and Phillip Ezolt <phillipezolt@gmail.com> on dri-devel.
This code doesn't let the 3D driver work properly as the card has no
vertex shader support.
Thanks to Matthew Garrett + Ubuntu for providing me some hardware to do this
work on.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 80041d5b792d..d494315752a2 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -519,12 +519,17 @@ typedef struct drm_vbl_sig { | |||
519 | #define DRM_ATI_GART_MAIN 1 | 519 | #define DRM_ATI_GART_MAIN 1 |
520 | #define DRM_ATI_GART_FB 2 | 520 | #define DRM_ATI_GART_FB 2 |
521 | 521 | ||
522 | #define DRM_ATI_GART_PCI 1 | ||
523 | #define DRM_ATI_GART_PCIE 2 | ||
524 | #define DRM_ATI_GART_IGP 3 | ||
525 | |||
522 | typedef struct ati_pcigart_info { | 526 | typedef struct ati_pcigart_info { |
523 | int gart_table_location; | 527 | int gart_table_location; |
524 | int is_pcie; | 528 | int gart_reg_if; |
525 | void *addr; | 529 | void *addr; |
526 | dma_addr_t bus_addr; | 530 | dma_addr_t bus_addr; |
527 | drm_local_map_t mapping; | 531 | drm_local_map_t mapping; |
532 | int table_size; | ||
528 | } drm_ati_pcigart_info; | 533 | } drm_ati_pcigart_info; |
529 | 534 | ||
530 | /* | 535 | /* |