]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use the first mode if there is no preferred mode in the EDID
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 13 May 2014 15:07:37 +0000 (16:07 +0100)
committerJani Nikula <jani.nikula@intel.com>
Thu, 15 May 2014 08:32:35 +0000 (11:32 +0300)
commit5641f41a11580ec1d16d9a522a5a06fdc4e2adf4
tree4eb376198cdb3e5272762c504ae5688f342a8cf1
parent01a9ad252003bef19da8946bd50f1f8bb4fe37fc
drm/i915: Use the first mode if there is no preferred mode in the EDID

This matches the algorithm used by earlier kernels when selecting the
mode for the fbcon. And only if there is no modes at all, do we fall
back to using the BIOS configuration. Seamless transition is still
preserved (from the BIOS configuration to ours) so long as the BIOS has
also chosen what we hope is the native configuration.

Reported-by: Knut Petersen <Knut_Petersen@t-online.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78655
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Knut Petersen <Knut_Petersen@t-online.de>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[Jani: applied Chris' "Please imagine that I wrote this correctly."]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_fbdev.c