]> asedeno.scripts.mit.edu Git - linux.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)
commitc504f4dfaa68cf79385acc51262f241e94b1a32e
tree434029c442be8ce377ad67e578c5e500f561b0ff
parentc9ad602feabe4271d2adf1bdae5d8b20c2dc84f1
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