[Bug 80355] DP MST problems with xrandr while re-docking
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 26 23:39:05 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=80355
--- Comment #33 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ah, you already have that commit. In which case it looks like the set->fb and
set->mode BUG_ONs instead. (I first thought it might have been the locking
asserts.)
Try:
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index efd3cf50cb0f..3ed6169bc203 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -10753,6 +10753,15 @@ static int intel_crtc_set_config(struct drm_mode_set
*set)
BUG_ON(!set->crtc);
BUG_ON(!set->crtc->helper_private);
+ if (set->mode == NULL)
+ set->fb = NULL;
+
+ if (set->num_connectors == 0)
+ set->fb = NULL;
+
+ if (set->fb == NULL)
+ set->mode = NULL;
+
/* Enforce sane interface api - has been abused by the fb helper. */
BUG_ON(!set->mode && set->fb);
BUG_ON(set->fb && set->num_connectors == 0);
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140627/8015a17e/attachment.html>
More information about the intel-gfx-bugs
mailing list