summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_sprite.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-02-28 12:41:10 +0100
committerHans de Goede <hdegoede@redhat.com>2020-03-02 14:01:42 +0100
commit0dd5b13315fd57976f4cde050c1e763aba2ffdcf (patch)
tree00d286b6813bd021bdbdefd388bea6e44e89118b /drivers/gpu/drm/i915/display/intel_sprite.c
parent1ca002adce955d9f0769e8830a62a50fb039d09d (diff)
drm/i915/dp: Use BDB_GENERAL_FEATURES VBT block info for builtin panel-orientation
Some devices with a builtin panel have the panel mounted upside down, this is indicated by the rotate_180 bit in the BDB_GENERAL_FEATURES VBT block. We store this info in dev_priv->vbt.orientation, use this to set the connector's orientation property so that fbcon and userspace will show the image the right way up on devices with an upside-down mounted panel. This fixes the image being upside-down on a Teclast X89 tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200228114110.187792-3-hdegoede@redhat.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_sprite.c')
0 files changed, 0 insertions, 0 deletions