]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not override mode's aspect ratio with the prop value NONE
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Jun 2019 14:26:38 +0000 (17:26 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Nov 2019 17:49:19 +0000 (19:49 +0200)
commitdb9c7dbf1e21d82851828ab7bb5a50e1c1143100
tree434029c442be8ce377ad67e578c5e500f561b0ff
parent95f1a207a4f1ebde8e1679de667a2fab7b5d068a
drm/i915: Do not override mode's aspect ratio with the prop value NONE

HDMI_PICTURE_ASPECT_NONE means "Automatic" so when the user has that
selected we should keep whatever aspect ratio the mode already has.

Also no point in checking for connector->is_hdmi in the SDVO code
since we only attach the property to HDMI connectors.

Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190620142639.17518-5-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/i915/display/intel_sdvo.c