aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2013-01-18 12:30:32 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-20 13:11:11 +0100
commit9c61a32d31a55c8c6e590d83ae5645e14fde09f2 (patch)
tree3e0b76fa2c8b3a598b80e546821f659fae2530e2 /include/drm
parentdrm/i915: Cut out the infamous ILK w/a from AGP layer (diff)
downloadwireguard-linux-9c61a32d31a55c8c6e590d83ae5645e14fde09f2.tar.xz
wireguard-linux-9c61a32d31a55c8c6e590d83ae5645e14fde09f2.zip
drm/i915: Remove scratch page from shared
We already had a mapping in both (minus the phys_addr in AGP). Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/intel-gtt.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/drm/intel-gtt.h b/include/drm/intel-gtt.h
index 1747aa095f41..c787ee4c4c07 100644
--- a/include/drm/intel-gtt.h
+++ b/include/drm/intel-gtt.h
@@ -13,9 +13,6 @@ struct intel_gtt {
unsigned int gtt_mappable_entries;
/* Whether i915 needs to use the dmar apis or not. */
unsigned int needs_dmar : 1;
- /* Share the scratch page dma with ppgtts. */
- dma_addr_t scratch_page_dma;
- struct page *scratch_page;
/* needed for ioremap in drm/i915 */
phys_addr_t gma_bus_addr;
} *intel_gtt_get(void);