projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc523e
)
drm/i915: Remove unused ppgtt->enable()
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 08:43:53 +0000
(08:43 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_gtt.h
b/drivers/gpu/drm/i915/i915_gem_gtt.h
index 9338887253680b7bc880a57be13dfe0637486f41..6210550e15cfdfa86aa7b62f0ea7bd2111900a21 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_gtt.h
+++ b/
drivers/gpu/drm/i915/i915_gem_gtt.h
@@
-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);