diff options
Diffstat (limited to 'sys/dev/pci/drm/drmP.h')
-rw-r--r-- | sys/dev/pci/drm/drmP.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h index 877a6032b69..9cc5e9017df 100644 --- a/sys/dev/pci/drm/drmP.h +++ b/sys/dev/pci/drm/drmP.h @@ -332,14 +332,21 @@ struct drm_mem { #define upper_32_bits(_val) ((u_int32_t)(((_val) >> 16) >> 16)) struct drm_ati_pcigart_info { - struct drm_local_map mapping; - struct drm_dmamem *mem; - void *addr; + union pcigart_table { + struct fb_gart { + bus_space_tag_t bst; + bus_space_handle_t bsh; + } fb; + struct mem_gart { + struct drm_dmamem *mem; + u_int32_t *addr; + } dma; + } tbl; bus_addr_t bus_addr; bus_addr_t table_mask; + bus_size_t table_size; int gart_table_location; int gart_reg_if; - int table_size; }; struct drm_driver_info { |