Skip to content

RFC HDMI 2.0+ video modes handling in DRM core

Jose Abreu dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm: Add HDMI 2.0+ features exposing knobdrivers/gpu/drm/drm_ioctl.c include/drm/drm_file.h include/uapi/drm/drm.h+20 -05 replies
2/5drm: uapi: Add HDMI 2.0 aspect ratio flags and HDMI 2.0+ mode flaginclude/uapi/drm/drm_mode.h+9 -04 replies
3/5drm: edid: Add HDMI 2.0 CEA video modesdrivers/gpu/drm/drm_edid.c+258 -07 replies
4/5drm: connector: Add hdmi2_allowed flaginclude/drm/drm_connector.h+2 -00 replies
5/5drm: Do not expose HDMI 2.0+ modes to userspace/drivers unless asked todrivers/gpu/drm/drm_connector.c drivers/gpu/drm/drm_probe_helper.c include/drm/drm_modes.h+24 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/5] HDMI 2.0+ video modes handling in DRM core

Hi all,

This is a RFC series that aims to collect comments regarding the handling of HDMI 2.0+ video modes and features in the DRM core.

Some of the HDMI 2.0 features are already implemented and only affect kernel drivers (SDCD for example). There are some features, though, which can, and will, affect userspace.

It is clear that userspace can't be broken, so, based on previous discussions I started implementing a "HDMI 2.0+ knob" which can be set by userspace to enable HDMI 2.0+ features.

For now this only limits the exposing of the video modes defined in CEA-861-F, but it can be extended adding, for example, YCbCr 4:2:0.

Please do not see this as a formal patch as this wasn't even compiled tested but, please, feel free to comment :)

NOTE: The adding of the new video modes timings was originally done by Shashank Sharma <[email protected]> so, credit to him. I modified it a little bit (added the HDMI 2.0+ flag) and I don't know if I should add his signed-off-by as it was modified.

Best regards,
Jose Miguel Abreu

Cc Carlos Palminha <[email protected]>

Jose Abreu (5):
drm: Add HDMI 2.0+ features exposing knob
drm: uapi: Add HDMI 2.0 aspect ratio flags and HDMI 2.0+ mode flag
drm: edid: Add HDMI 2.0 CEA video modes
drm: connector: Add hdmi2_allowed flag
drm: Do not expose HDMI 2.0+ modes to userspace/drivers unless asked
to

 drivers/gpu/drm/drm_connector.c    |   2 +
 drivers/gpu/drm/drm_edid.c         | 258 +++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_ioctl.c        |   5 +
 drivers/gpu/drm/drm_probe_helper.c |   9 +-
 include/drm/drm_connector.h        |   2 +
 include/drm/drm_file.h             |   8 ++
 include/drm/drm_modes.h            |  14 ++
 include/uapi/drm/drm.h             |   7 +
 include/uapi/drm/drm_mode.h        |   9 ++
 9 files changed, 313 insertions(+), 1 deletion(-)
Signature · 7 lines
1.9.1


_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel