public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: list self-refresh as enabled on newer platforms
@ 2015-04-02 18:18 Jesse Barnes
  2015-04-02 18:42 ` Ville Syrjälä
  2015-04-03  5:21 ` [PATCH] drm/i915: list self-refresh as enabled on newer platforms shuang.he
  0 siblings, 2 replies; 10+ messages in thread
From: Jesse Barnes @ 2015-04-02 18:18 UTC (permalink / raw)
  To: intel-gfx

I guess this is a lie for 8xx, but newer stuff takes care of this for
us.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89792
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/gpu/drm/i915/i915_debugfs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 91c945b..a8f42a7 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1686,6 +1686,8 @@ static int i915_sr_status(struct seq_file *m, void *unused)
 		sr_enabled = I915_READ(INSTPM) & INSTPM_SELF_EN;
 	else if (IS_PINEVIEW(dev))
 		sr_enabled = I915_READ(DSPFW3) & PINEVIEW_SELF_REFRESH_EN;
+	else
+		sr_enabled = true; /* other platforms don't need enabling */
 
 	intel_runtime_pm_put(dev_priv);
 
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-06-04  8:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 18:18 [PATCH] drm/i915: list self-refresh as enabled on newer platforms Jesse Barnes
2015-04-02 18:42 ` Ville Syrjälä
2015-04-02 18:48   ` Jesse Barnes
2015-05-27  7:05   ` [PATCH] drm/i915: Include VLV in self refresh status Ander Conselvan de Oliveira
2015-06-02 11:17     ` [PATCH] drm/i915: Include G4X/VLV/CHV " Ander Conselvan de Oliveira
2015-06-02 11:51       ` Ville Syrjälä
2015-06-02 11:58         ` Jani Nikula
2015-06-04  8:23         ` Jani Nikula
2015-06-02 17:46       ` shuang.he
2015-04-03  5:21 ` [PATCH] drm/i915: list self-refresh as enabled on newer platforms shuang.he

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox