RFC HDMI 2.0+ video modes handling in DRM core
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | drm: Add HDMI 2.0+ features exposing knobdrivers/ include/ include/ | +20 | 5 replies | |
| 2/5 | drm: uapi: Add HDMI 2.0 aspect ratio flags and HDMI 2.0+ mode flaginclude/ | +9 | 4 replies | |
| 3/5 | drm: edid: Add HDMI 2.0 CEA video modesdrivers/ | +258 | 7 replies | |
| 4/5 | drm: connector: Add hdmi2_allowed flaginclude/ | +2 | 0 replies | |
| 5/5 | drm: Do not expose HDMI 2.0+ modes to userspace/drivers unless asked todrivers/ drivers/ include/ | +24 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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
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