[Intel-gfx] [PATCH 0/5] drm: Aspect ratio fixes

Ville Syrjala ville.syrjala at linux.intel.com
Thu Jun 20 14:26:34 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Ilia pointed out some oddball crap in the i915 aspect ratio handling.
While looking at that I noticed a bunch of fail in the core as well.
This series aims to fix it all.

Cc: Ilia Mirkin <imirkin at alum.mit.edu>

Ville Syrjälä (5):
  drm: Do not use bitwise OR to set picure_aspect_ratio
  drm: Do not accept garbage mode aspect ratio flags
  drm: WARN on illegal aspect ratio when converting a mode to umode
  drm/i915: Do not override mode's aspect ratio with the prop value NONE
  drm/i915: Drop redundant aspec ratio prop value initialization

 drivers/gpu/drm/drm_modes.c               | 17 +++++++++++------
 drivers/gpu/drm/i915/display/intel_hdmi.c |  5 ++---
 drivers/gpu/drm/i915/display/intel_sdvo.c |  4 +---
 3 files changed, 14 insertions(+), 12 deletions(-)

-- 
2.21.0



More information about the Intel-gfx mailing list