diff options
author | Dave Airlie <airlied@linux.ie> | 2007-04-03 21:20:00 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-04-03 21:20:00 +1000 |
commit | 29ac7b1fe364a4be1db7e22d2b400bef04fc240d (patch) | |
tree | 94c7c94e08cd0b6e212a942313d48c1f2dc89d2a /linux-core/drmP.h | |
parent | e835820e2359952bd42a66137c6b7ab243a5a541 (diff) |
radeon: add setup for PCIE GART ttm
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index b6da6926..3ddd405f 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -840,8 +840,16 @@ typedef struct drm_agp_ttm_priv { } drm_agp_ttm_priv; #endif +#define ATI_PCIGART_FLAG_VMALLOC 1 +struct ati_pcigart_memory { + size_t page_count; + unsigned long *memory; + int flags; +}; + typedef struct ati_pcigart_ttm_priv { int populated; + struct ati_pcigart_memory *mem; } ati_pcigart_ttm_priv; static __inline__ int drm_core_check_feature(struct drm_device *dev, |