]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/agp_backend.h
agp: Add generic support for graphics dma remapping
[net-next-2.6.git] / include / linux / agp_backend.h
index 76fa794fdac0fdab91bfc74204c5642ec09384fb..8a294d65b9b1ac5e57a59ad6f695c43fb74cc325 100644 (file)
@@ -79,9 +79,13 @@ struct agp_memory {
        u32 physical;
        bool is_bound;
        bool is_flushed;
-        bool vmalloc_flag;
+       bool vmalloc_flag;
+       bool sg_vmalloc_flag;
        /* list of agp_memory mapped to the aperture */
        struct list_head mapped_list;
+       /* DMA-mapped addresses */
+       struct scatterlist *sg_list;
+       int num_sg;
 };
 
 #define AGP_NORMAL_MEMORY 0