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:
30b7108
)
drm/i915: Restrict gen6_reset_rps_interrupts to gen6+
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 12 Aug 2018 22:36:30 +0000
(23:36 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 13 Aug 2018 20:20:28 +0000
(21:20 +0100)
Do not call gen6_reset_rps_interrupts() when we know the registers do not
exist.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20180812223642.24865-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index 03654f5f68c3e8552a3ebbbfc61e11cebccd95a7..9a01560c5bd1f2f4a9ee5a7f22f2753978038fd5 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_pm.c
+++ b/
drivers/gpu/drm/i915/intel_pm.c
@@
-8260,7
+8260,7
@@
void intel_sanitize_gt_powersave(struct drm_i915_private *dev_priv)
if (INTEL_GEN(dev_priv) >= 11)
gen11_reset_rps_interrupts(dev_priv);
- else
+ else
if (INTEL_GEN(dev_priv) >= 6)
gen6_reset_rps_interrupts(dev_priv);
}