drm/i915: Remove unused ppgtt->enable()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 08:43:53 +0000 (08:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 10:07:31 +0000 (10:07 +0000)
We never assign or use the ppgtt->enable() callback, so remove it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170215084357.19977-19-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.h

index 9338887253680b7bc880a57be13dfe0637486f41..6210550e15cfdfa86aa7b62f0ea7bd2111900a21 100644 (file)
@@ -385,7 +385,6 @@ struct i915_hw_ppgtt {
 
        gen6_pte_t __iomem *pd_addr;
 
-       int (*enable)(struct i915_hw_ppgtt *ppgtt);
        int (*switch_mm)(struct i915_hw_ppgtt *ppgtt,
                         struct drm_i915_gem_request *req);
        void (*debug_dump)(struct i915_hw_ppgtt *ppgtt, struct seq_file *m);