summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2013-12-06 14:11:06 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-18 15:27:56 +0100
commita3d67d2396e1d8563dbd420a427bed704bcaff09 (patch)
tree5b66d15df11f4ec93aa86071235e18ccd55e5f40 /drivers/gpu/drm/i915/i915_drv.h
parenta45d0f6a7fbfcffeb76b8910ee166affcb4b8229 (diff)
downloadlwn-a3d67d2396e1d8563dbd420a427bed704bcaff09.tar.gz
lwn-a3d67d2396e1d8563dbd420a427bed704bcaff09.zip
drm/i915: PPGTT vfuncs should take a ppgtt argument
Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 61c0f5c7353b..3d26c4c47fdf 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -671,7 +671,8 @@ struct i915_hw_ppgtt {
dma_addr_t *pt_dma_addr;
dma_addr_t *gen8_pt_dma_addr[4];
};
- int (*enable)(struct drm_device *dev);
+
+ int (*enable)(struct i915_hw_ppgtt *ppgtt);
};
struct i915_ctx_hang_stats {