[Bug 75552] New: Need one kernel option to enable all connected displays
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 26 17:22:03 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75552
Priority: medium
Bug ID: 75552
CC: intel-gfx-bugs at lists.freedesktop.org
Assignee: jbarnes at virtuousgeek.org
Summary: Need one kernel option to enable all connected
displays
QA Contact: intel-gfx-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: guang.a.yang at intel.com
Hardware: Other
Status: NEW
Version: unspecified
Component: DRM/Intel
Product: DRI
commit eb1bfe807cb7b62a326fa20df5e3118a32c6f923
Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date: Wed Feb 12 12:26:25 2014 -0800
drm/i915: allow re-use BIOS connector config for initial fbdev config v3
The BIOS or boot loader will generally create an initial display
configuration for us that includes some set of active pipes and
displays. This routine tries to figure out which pipes and connectors
are active and stuffs them into the crtcs and modes array given to us by
the drm_fb_helper code.
The overall sequence is:
intel_fbdev_init - from driver load
intel_fbdev_init_bios - initialize the intel_fbdev using BIOS data
drm_fb_helper_init - build fb helper structs
drm_fb_helper_single_add_all_connectors - more fb helper structs
intel_fbdev_initial_config - apply the config
drm_fb_helper_initial_config - call ->probe then register_framebuffer()
drm_setup_crtcs - build crtc config for fbdev
intel_fb_initial_config - find active connectors etc
drm_fb_helper_single_fb_probe - set up fbdev
intelfb_create - re-use or alloc fb, build out fbdev structs
v2: use BIOS connector config unconditionally if possible (Daniel)
check for crtc cloning and reject (Daniel)
fix up comments (Daniel)
v3: use command line args and preferred modes first (Ville)
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Tested-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
[danvet: Re-add the WARN_ON for a missing encoder crtc - the state
sanitizer should take care of this. And spell-ocd the comments.]
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
The kernel driver behavior changed with Jesse's patch above , the i915 driver
will try to keep the BIOS config instead of lighting up every port.
So need Jesse add one kernel option to enable all connected displays as before.
--
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/20140227/114d7d37/attachment.html>
More information about the intel-gfx-bugs
mailing list