projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f23b8
)
drm/i915: Power Context register is only available for gen4 mobiles
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 5 Dec 2010 16:45:02 +0000
(16:45 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 5 Dec 2010 23:18:31 +0000
(23:18 +0000)
The ability to save the hardware context upon powering down the render
clock through PWRCTXA is only available on a couple of gen4 chipsets.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index a95c69392afc56560158a57d12e7c9eca4395235..aba1c33f6407b704bd7a27da8eefc81dd43c8caf 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-5973,7
+5973,7
@@
void intel_init_clock_gating(struct drm_device *dev)
"Disable RC6\n");
}
- if (I
915_HAS_RC6(dev) && drm_core_check_feature(dev, DRIVER_MODESET
)) {
+ if (I
S_GEN4(dev) && IS_MOBILE(dev
)) {
if (dev_priv->pwrctx == NULL)
dev_priv->pwrctx = intel_alloc_context_page(dev);
if (dev_priv->pwrctx) {