[Bug 61457] [Intel G45] Screen turns blank when terminating a low res X server on a different low res KMS mode.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 28 03:30:54 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61457

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
I would try:

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 61fee7f..f52379a 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -1357,6 +1357,7 @@ static void g4x_update_wm(struct drm_device *dev)
     int plane_sr, cursor_sr;
     unsigned int enabled = 0;

+#if 0
     if (g4x_compute_wm0(dev, 0,
                 &g4x_wm_info, latency_ns,
                 &g4x_cursor_wm_info, latency_ns,
@@ -1368,6 +1369,13 @@ static void g4x_update_wm(struct drm_device *dev)
                 &g4x_cursor_wm_info, latency_ns,
                 &planeb_wm, &cursorb_wm))
         enabled |= 2;
+#else
+    planea_wm = g4x_wm_info.max_size;
+    cursora_wm = g4x_cursor_wm_info.max_size;
+
+    planeb_wm = g4x_wm_info.max_size;
+    cursorb_wm = g4x_cursor_wm_info.max_size;
+#endif

     if (single_plane_enabled(enabled) &&
         g4x_compute_srwm(dev, ffs(enabled) - 1,


in order to set the WM to a constant value and disable the low-power switching.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130228/480601bc/attachment.html>


More information about the intel-gfx-bugs mailing list