summaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorDave Airlie2014-09-10 10:23:07 +0200
committerDave Airlie2014-09-12 06:11:14 +0200
commitfd7e0d719260259f6e4e7711bd63a4175557d559 (patch)
treec962b80f0ece6a61d2566c8596ebe68c8aeab4f5 /include/drm/drmP.h
parentMerge branch 'drm-next-3.18' of git://people.freedesktop.org/~agd5f/linux int... (diff)
downloadkernel-qcow2-linux-fd7e0d719260259f6e4e7711bd63a4175557d559.tar.gz
kernel-qcow2-linux-fd7e0d719260259f6e4e7711bd63a4175557d559.tar.xz
kernel-qcow2-linux-fd7e0d719260259f6e4e7711bd63a4175557d559.zip
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.h23
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 {
struct drm_master *master;
};
-/* location of GART table */
-#define DRM_ATI_GART_MAIN 1
-#define DRM_ATI_GART_FB 2
-
-#define DRM_ATI_GART_PCI 1
-#define DRM_ATI_GART_PCIE 2
-#define DRM_ATI_GART_IGP 3
-
-struct drm_ati_pcigart_info {
- int gart_table_location;
- int gart_reg_if;
- void *addr;
- dma_addr_t bus_addr;
- dma_addr_t table_mask;
- struct drm_dma_handle *table_handle;
- struct drm_local_map mapping;
- int table_size;
-};
/**
* 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,
extern int drm_sg_free(struct drm_device *dev, void *data,
struct drm_file *file_priv);
- /* ATI PCIGART support (ati_pcigart.h) */
-extern int drm_ati_pcigart_init(struct drm_device *dev,
- struct drm_ati_pcigart_info * gart_info);
-extern int drm_ati_pcigart_cleanup(struct drm_device *dev,
- struct drm_ati_pcigart_info * gart_info);
extern drm_dma_handle_t *drm_pci_alloc(struct drm_device *dev, size_t size,
size_t align);