All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v13 00/10] Aspect ratio support in DRM layer
@ 2018-05-02  6:50 Nautiyal, Ankit K
  2018-05-02  6:50 ` [PATCH v13 01/10] drm/modes: Introduce drm_mode_match() Nautiyal, Ankit K
                   ` (12 more replies)
  0 siblings, 13 replies; 22+ messages in thread
From: Nautiyal, Ankit K @ 2018-05-02  6:50 UTC (permalink / raw)
  To: dri-devel, intel-gfx

From: Ankit Nautiyal <ankit.k.nautiyal@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 5 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, and also ensures that no bogus aspect-ratios
are sent in the AVI infoframes.

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 (3):
  drm: Add DRM client cap for aspect-ratio
  drm: Handle aspect ratio info in legacy modeset path
  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ä (5):
  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
  drm/edid: Don't send bogus aspect ratios in AVI infoframes
  video/hdmi: Reject illegal picture aspect ratios

 drivers/gpu/drm/drm_connector.c     |  45 +++++--
 drivers/gpu/drm/drm_crtc.c          |   8 ++
 drivers/gpu/drm/drm_crtc_internal.h |   6 +
 drivers/gpu/drm/drm_edid.c          |  41 +++++--
 drivers/gpu/drm/drm_fb_helper.c     |  12 +-
 drivers/gpu/drm/drm_ioctl.c         |   9 ++
 drivers/gpu/drm/drm_modes.c         | 226 +++++++++++++++++++++++++++++++-----
 drivers/video/hdmi.c                |   3 +
 include/drm/drm_file.h              |   8 ++
 include/drm/drm_modes.h             |  22 ++++
 include/uapi/drm/drm.h              |   7 ++
 include/uapi/drm/drm_mode.h         |   6 +
 12 files changed, 343 insertions(+), 50 deletions(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-05-07 13:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-02  6:50 [PATCH v13 00/10] Aspect ratio support in DRM layer Nautiyal, Ankit K
2018-05-02  6:50 ` [PATCH v13 01/10] drm/modes: Introduce drm_mode_match() Nautiyal, Ankit K
2018-05-02  6:50 ` [PATCH v13 02/10] drm/edid: Use drm_mode_match_no_clocks_no_stereo() for consistentcy Nautiyal, Ankit K
2018-05-02  6:50 ` [PATCH v13 03/10] drm/edid: Fix cea mode aspect ratio handling Nautiyal, Ankit K
2018-05-02  6:50 ` [PATCH v13 04/10] drm/edid: Don't send bogus aspect ratios in AVI infoframes Nautiyal, Ankit K
2018-05-02  6:50 ` [PATCH v13 05/10] video/hdmi: Reject illegal picture aspect ratios Nautiyal, Ankit K
2018-05-02  6:50 ` [PATCH v13 06/10] drm: Add DRM client cap for aspect-ratio Nautiyal, Ankit K
2018-05-02  7:52   ` [Intel-gfx] " Daniel Vetter
2018-05-02  6:50 ` [PATCH v13 07/10] drm: Handle aspect ratio info in legacy modeset path Nautiyal, Ankit K
2018-05-02  7:56   ` [Intel-gfx] " Daniel Vetter
2018-05-02  6:50 ` [PATCH v13 08/10] drm: Expose modes with aspect ratio, only if requested Nautiyal, Ankit K
2018-05-03  6:26   ` Daniel Vetter
2018-05-04 20:19     ` Ville Syrjälä
2018-05-07  5:04       ` Nautiyal, Ankit K
2018-05-07 12:28         ` Ville Syrjälä
2018-05-07 12:52           ` Nautiyal, Ankit K
2018-05-07 13:36       ` Daniel Vetter
2018-05-02  6:50 ` [PATCH v13 09/10] drm: Add aspect ratio parsing in DRM layer Nautiyal, Ankit K
2018-05-02  6:50 ` [PATCH v13 10/10] drm: Add and handle new aspect ratios " Nautiyal, Ankit K
2018-05-02 10:00 ` ✗ Fi.CI.CHECKPATCH: warning for Aspect ratio support " Patchwork
2018-05-02 10:15 ` ✓ Fi.CI.BAT: success " Patchwork
2018-05-02 12:44 ` ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.