diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-15 12:18:07 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-15 12:18:07 -0400 |
| commit | 66a4fe0cb80a9fde8cb173289afb863fd279466a (patch) | |
| tree | e1180ba7cbd123fb2f0bf510a955704725465776 /include/linux | |
| parent | 18240904960a39e582ced8ba8ececb10b8c22dd3 (diff) | |
| parent | 121264827656f5f06328b17983c796af17dc5949 (diff) | |
Merge branch 'agp-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6
* 'agp-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6:
agp/intel: remove restore in resume
agp: fix uninorth build
intel-agp: Set dma mask for i915
agp: kill phys_to_gart() and gart_to_phys()
intel-agp: fix sglist allocation to avoid vmalloc()
intel-agp: Move repeated sglist free into separate function
agp: Switch agp_{un,}map_page() to take struct page * argument
agp: tidy up handling of scratch pages w.r.t. DMA API
intel_agp: Use PCI DMA API correctly on chipsets new enough to have IOMMU
agp: Add generic support for graphics dma remapping
agp: Switch mask_memory() method to take address argument again, not page
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/agp_backend.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/agp_backend.h b/include/linux/agp_backend.h index 76fa794fdac0..880130f7311f 100644 --- a/include/linux/agp_backend.h +++ b/include/linux/agp_backend.h | |||
| @@ -79,9 +79,12 @@ struct agp_memory { | |||
| 79 | u32 physical; | 79 | u32 physical; |
| 80 | bool is_bound; | 80 | bool is_bound; |
| 81 | bool is_flushed; | 81 | bool is_flushed; |
| 82 | bool vmalloc_flag; | 82 | bool vmalloc_flag; |
| 83 | /* list of agp_memory mapped to the aperture */ | 83 | /* list of agp_memory mapped to the aperture */ |
| 84 | struct list_head mapped_list; | 84 | struct list_head mapped_list; |
| 85 | /* DMA-mapped addresses */ | ||
| 86 | struct scatterlist *sg_list; | ||
| 87 | int num_sg; | ||
| 85 | }; | 88 | }; |
| 86 | 89 | ||
| 87 | #define AGP_NORMAL_MEMORY 0 | 90 | #define AGP_NORMAL_MEMORY 0 |
