diff options
author | Dave Airlie <airlied@redhat.com> | 2014-09-10 04:23:07 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-12 00:11:14 -0400 |
commit | fd7e0d719260259f6e4e7711bd63a4175557d559 (patch) | |
tree | c962b80f0ece6a61d2566c8596ebe68c8aeab4f5 /include/drm/drmP.h | |
parent | 10d123b2f2b5bf54f59a884f12018d24a97d5a63 (diff) |
drm: split ati_pcigart.h out of drmP.h
Just move this into a separate header file, and make the
two users use it.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index be1160fa5ebc..e4ba3de22601 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -461,24 +461,6 @@ struct drm_map_list { | |||
461 | struct drm_master *master; | 461 | struct drm_master *master; |
462 | }; | 462 | }; |
463 | 463 | ||
464 | /* location of GART table */ | ||
465 | #define DRM_ATI_GART_MAIN 1 | ||
466 | #define DRM_ATI_GART_FB 2 | ||
467 | |||
468 | #define DRM_ATI_GART_PCI 1 | ||
469 | #define DRM_ATI_GART_PCIE 2 | ||
470 | #define DRM_ATI_GART_IGP 3 | ||
471 | |||
472 | struct drm_ati_pcigart_info { | ||
473 | int gart_table_location; | ||
474 | int gart_reg_if; | ||
475 | void *addr; | ||
476 | dma_addr_t bus_addr; | ||
477 | dma_addr_t table_mask; | ||
478 | struct drm_dma_handle *table_handle; | ||
479 | struct drm_local_map mapping; | ||
480 | int table_size; | ||
481 | }; | ||
482 | 464 | ||
483 | /** | 465 | /** |
484 | * This structure defines the drm_mm memory object, which will be used by the | 466 | * This structure defines the drm_mm memory object, which will be used by the |
@@ -1324,11 +1306,6 @@ extern int drm_sg_alloc(struct drm_device *dev, void *data, | |||
1324 | extern int drm_sg_free(struct drm_device *dev, void *data, | 1306 | extern int drm_sg_free(struct drm_device *dev, void *data, |
1325 | struct drm_file *file_priv); | 1307 | struct drm_file *file_priv); |
1326 | 1308 | ||
1327 | /* ATI PCIGART support (ati_pcigart.h) */ | ||
1328 | extern int drm_ati_pcigart_init(struct drm_device *dev, | ||
1329 | struct drm_ati_pcigart_info * gart_info); | ||
1330 | extern int drm_ati_pcigart_cleanup(struct drm_device *dev, | ||
1331 | struct drm_ati_pcigart_info * gart_info); | ||
1332 | 1309 | ||
1333 | extern drm_dma_handle_t *drm_pci_alloc(struct drm_device *dev, size_t size, | 1310 | extern drm_dma_handle_t *drm_pci_alloc(struct drm_device *dev, size_t size, |
1334 | size_t align); | 1311 | size_t align); |