[Bug 75552] Need one kernel option to enable all connected displays

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 4 12:06:15 PST 2014


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

--- Comment #14 from Ville Syrjala <ville.syrjala at linux.intel.com> ---
(In reply to comment #13)
> Ville, can you please also give this patch a spin to check whether it does
> what you expect?

Needs a small adjustment and then it works on my IVB machine at least.

diff --git a/drivers/gpu/drm/i915/intel_fbdev.c
b/drivers/gpu/drm/i915/intel_fbdev.c
index afccc6e..4f1a977 100644
--- a/drivers/gpu/drm/i915/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/intel_fbdev.c
@@ -318,8 +318,6 @@ static bool intel_fb_initial_config(struct drm_fb_helper
*fb_helper,
                        continue;
                }

-               num_connectors_enabled++;
-
                encoder = connector->encoder;
                if (!encoder || WARN_ON(!encoder->crtc)) {
                        DRM_DEBUG_KMS("connector %d has no encoder or crtc,
skipping\n",
@@ -328,6 +326,8 @@ static bool intel_fb_initial_config(struct drm_fb_helper
*fb_helper,
                        continue;
                }

+               num_connectors_enabled++;
+
                new_crtc = intel_fb_helper_crtc(fb_helper, encoder->crtc);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140304/ce4a5588/attachment.html>


More information about the intel-gfx-bugs mailing list