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:
7cf50fc
)
drm/i915: enable RC6 by default on Haswell
author
Eugeni Dodonov
<
[email protected]
>
Mon, 2 Jul 2012 14:51:07 +0000
(11:51 -0300)
committer
Daniel Vetter
<
[email protected]
>
Thu, 5 Jul 2012 07:56:02 +0000
(09:56 +0200)
It should be working so let's turn it on by default and catch any possible
issues faster.
Signed-off-by: Eugeni Dodonov <
[email protected]
>
Reviewed-by: Ben Widawsky <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
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 e4c7eac656bd7cd8813123763368f54752979617..28db512b57843e08cc27d16bc739e81ec3988495 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_pm.c
+++ b/
drivers/gpu/drm/i915/intel_pm.c
@@
-2334,9
+2334,11
@@
int intel_enable_rc6(const struct drm_device *dev)
if (INTEL_INFO(dev)->gen == 5)
return 0;
- /* Sorry Haswell, no RC6 for you for now. */
+ /* On Haswell, only RC6 is available. So let's enable it by default to
+ * provide better testing and coverage since the beginning.
+ */
if (IS_HASWELL(dev))
- return
0
;
+ return
INTEL_RC6_ENABLE
;
/*
* Disable rc6 on Sandybridge