[PATCH v6 0/9] Aspect ratio support in DRM layer
Nautiyal, Ankit K
ankit.k.nautiyal at intel.com
Tue Mar 6 12:07:34 UTC 2018
From: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
This patch series is a re-attempt to enable aspect ratio support in
DRM layer. Currently the aspect ratio information gets lost in translation
during a user->kernel mode or vice versa.
The old patch series (https://pw-emeril.freedesktop.org/series/10850/) had
4 patches, out of which 2 patches were reverted due to lack of drm client
protection while loading the aspect information.
This patch series also includes 3 patches from Ville Syrjälä's series for
'Info-frame cleanup and fixes'
https://patchwork.freedesktop.org/series/33730/ which fixes the mode
matching mechanism via flags.
This patch series, adds a DRM client option for aspect ratio, and loads
aspect ratio flags, only when the client sets this cap.
To test this patch, the testdiplay IGT test is modified to have an option
to do a modeset with only aspect ratio modes.
Also, there is a userspace implementation in Wayland/weston layer:
https://patchwork.freedesktop.org/patch/188125/
(Which is already ACK'ed by wayland community.)
This, helps us in passing HDMI compliance test cases like 7-27, where the
test equipment applies a CEA mode, and expects the exact VIC in the AVI
infoframes.
Ankit Nautiyal (4):
drm: Add DRM client cap for aspect-ratio
drm: Handle aspect-ratio info in getblob
drm: Handle aspect ratio info in legacy and atomic modeset paths
drm: Expose modes with aspect ratio, only if requested
Sharma, Shashank (2):
drm: Add aspect ratio parsing in DRM layer
drm: Add and handle new aspect ratios in DRM layer
Ville Syrjälä (3):
drm/modes: Introduce drm_mode_match()
drm/edid: Use drm_mode_match_no_clocks_no_stereo() for consistentcy
drm/edid: Fix cea mode aspect ratio handling
drivers/gpu/drm/drm_atomic.c | 36 ++++--
drivers/gpu/drm/drm_atomic_helper.c | 6 +-
drivers/gpu/drm/drm_connector.c | 40 ++++++-
drivers/gpu/drm/drm_crtc.c | 8 ++
drivers/gpu/drm/drm_crtc_internal.h | 3 +-
drivers/gpu/drm/drm_edid.c | 18 ++-
drivers/gpu/drm/drm_fb_helper.c | 12 +-
drivers/gpu/drm/drm_ioctl.c | 5 +
drivers/gpu/drm/drm_mode_object.c | 9 +-
drivers/gpu/drm/drm_modes.c | 223 +++++++++++++++++++++++++++++++-----
drivers/gpu/drm/drm_property.c | 5 +
include/drm/drm_atomic.h | 5 +-
include/drm/drm_file.h | 8 ++
include/drm/drm_modes.h | 13 +++
include/drm/drm_property.h | 2 +
include/uapi/drm/drm.h | 7 ++
include/uapi/drm/drm_mode.h | 6 +
17 files changed, 346 insertions(+), 60 deletions(-)
--
2.7.4
More information about the dri-devel
mailing list