]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/gma500/psb: Actually use VBT mode when it is found
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Tue, 18 Apr 2017 11:43:32 +0000 (13:43 +0200)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 9 Jun 2017 15:46:17 +0000 (10:46 -0500)
commit5d6ee246970ac55f64138b31e88be796501fc70a
tree94670a52894bf193340f0e748a7fc3c875a5310f
parent0e2d7db48058c8588f3129f4d7f78d822c429003
drm/gma500/psb: Actually use VBT mode when it is found

BugLink: http://bugs.launchpad.net/bugs/1696723
commit 82bc9a42cf854fdf63155759c0aa790bd1f361b0 upstream.

With LVDS we were incorrectly picking the pre-programmed mode instead of
the prefered mode provided by VBT. Make sure we pick the VBT mode if
one is provided. It is likely that the mode read-out code is still wrong
but this patch fixes the immediate problem on most machines.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78562
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170418114332.12183-1-patrik.r.jakobsson@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/gma500/psb_intel_lvds.c