aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@gmail.com>2013-07-11 17:45:02 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-18 04:17:36 -0400
commit105b7c11f036f734988990541674a93e54cf4ec1 (patch)
treefef6aef2e19b7ef28941eae178b44f3770ef47d7 /drivers/gpu/drm/i915/i915_debugfs.c
parent3f51e4713fc57ab0fc225c3f0e67578a53c24a11 (diff)
drm/intel: add enable_psr module option and disable psr by default
v2: prefer seq_puts to seq_printf detected by Paulo Zanoni. v3: PSR is disabled by default. Without userspace ready it will cause regression for kde and xdm users Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Reviewed-by: Shobhit Kumar <shobhit.kumar@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 973f2727d703..9d871c7eeaee 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1565,6 +1565,9 @@ static int i915_edp_psr_status(struct seq_file *m, void *data)
1565 case PSR_NO_SINK: 1565 case PSR_NO_SINK:
1566 seq_puts(m, "not supported by panel"); 1566 seq_puts(m, "not supported by panel");
1567 break; 1567 break;
1568 case PSR_MODULE_PARAM:
1569 seq_puts(m, "disabled by flag");
1570 break;
1568 case PSR_CRTC_NOT_ACTIVE: 1571 case PSR_CRTC_NOT_ACTIVE:
1569 seq_puts(m, "crtc not active"); 1572 seq_puts(m, "crtc not active");
1570 break; 1573 break;