diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2019-04-16 13:46:07 +0200 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2019-05-21 10:59:00 +0200 |
commit | 7c420636860a719049fae9403e2c87804f53bdde (patch) | |
tree | 3217af09658f608c9ee8367a16c50f7484c62b13 /drivers/gpu/drm/gma500/psb_drv.h | |
parent | Merge drm-misc-next-fixes-2019-05-20 into drm-misc-fixes (diff) | |
download | linux-7c420636860a719049fae9403e2c87804f53bdde.tar.xz linux-7c420636860a719049fae9403e2c87804f53bdde.zip |
drm/gma500/cdv: Check vbt config bits when detecting lvds panels
Some machines have an lvds child device in vbt even though a panel is
not attached. To make detection more reliable we now also check the lvds
config bits available in the vbt.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1665766
Cc: stable@vger.kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190416114607.1072-1-patrik.r.jakobsson@gmail.com
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/gma500/psb_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h index 941b238bdcc9..bc608ddc3bd1 100644 --- a/drivers/gpu/drm/gma500/psb_drv.h +++ b/drivers/gpu/drm/gma500/psb_drv.h @@ -537,6 +537,7 @@ struct drm_psb_private { int lvds_ssc_freq; bool is_lvds_on; bool is_mipi_on; + bool lvds_enabled_in_vbt; u32 mipi_ctrl_display; unsigned int core_freq; |