diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-03-25 01:41:56 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-03-25 01:41:56 +0000 |
commit | 164b031cdab9c3c6fde3eaf86f2c8497d090d300 (patch) | |
tree | abfd0bec96a170c5e3d7eb89b1ccf5ec1218b4af /sys/dev/drm/drmP.h | |
parent | b4fc9c3e14f2dc044bbaf541db4994fff1522db5 (diff) | |
download | FreeBSD-src-164b031cdab9c3c6fde3eaf86f2c8497d090d300.zip FreeBSD-src-164b031cdab9c3c6fde3eaf86f2c8497d090d300.tar.gz |
The GART allocations are a propery of the gart, not of scatter-gather
memory. Track them in the appropriate structure.
MFC after: 3 days
Diffstat (limited to 'sys/dev/drm/drmP.h')
-rw-r--r-- | sys/dev/drm/drmP.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h index 0452e23..602d906 100644 --- a/sys/dev/drm/drmP.h +++ b/sys/dev/drm/drmP.h @@ -480,9 +480,7 @@ typedef struct drm_sg_mem { void *virtual; int pages; dma_addr_t *busaddr; - struct drm_dma_handle *sg_dmah; /* Handle for sg_pages */ struct drm_dma_handle *dmah; /* Handle to PCI memory */ - /* for ATI PCIGART table */ } drm_sg_mem_t; typedef TAILQ_HEAD(drm_map_list, drm_local_map) drm_map_list_t; @@ -543,6 +541,7 @@ struct drm_ati_pcigart_info { struct drm_dma_handle *table_handle; drm_local_map_t mapping; int table_size; + struct drm_dma_handle *dmah; /* handle for ATI PCIGART table */ }; #ifndef DMA_BIT_MASK |