[PATCH 0/5] drm: Aspect ratio fixes

Alex Deucher alexdeucher at gmail.com
Fri Jun 21 23:28:30 UTC 2019


On Thu, Jun 20, 2019 at 10:26 AM Ville Syrjala
<ville.syrjala at linux.intel.com> wrote:
>
> 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

Patches 1-3:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

>   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
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list