All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/5] HDMI 2.0+ video modes handling in DRM core
@ 2017-03-22 17:35 Jose Abreu
  2017-03-22 17:35 ` [RFC 1/5] drm: Add HDMI 2.0+ features exposing knob Jose Abreu
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Jose Abreu @ 2017-03-22 17:35 UTC (permalink / raw)
  To: dri-devel; +Cc: Jose Abreu, Carlos Palminha

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 <shashank.sharma@intel.com> 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 <palminha@synopsys.com>
Cc: dri-devel@lists.freedesktop.org

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(-)

-- 
1.9.1


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

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

end of thread, other threads:[~2017-03-28  6:17 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-22 17:35 [RFC 0/5] HDMI 2.0+ video modes handling in DRM core Jose Abreu
2017-03-22 17:35 ` [RFC 1/5] drm: Add HDMI 2.0+ features exposing knob Jose Abreu
2017-03-23  7:22   ` Daniel Vetter
2017-03-23 10:44     ` Jose Abreu
2017-03-23 11:00       ` Daniel Vetter
2017-03-27 13:47         ` Jose Abreu
2017-03-28  6:17           ` Daniel Vetter
2017-03-22 17:35 ` [RFC 2/5] drm: uapi: Add HDMI 2.0 aspect ratio flags and HDMI 2.0+ mode flag Jose Abreu
2017-03-23 15:16   ` Ville Syrjälä
2017-03-23 18:54     ` Jose Abreu
2017-03-23 19:00       ` Ville Syrjälä
2017-03-23 19:09         ` Jose Abreu
2017-03-22 17:35 ` [RFC 3/5] drm: edid: Add HDMI 2.0 CEA video modes Jose Abreu
2017-03-23  8:11   ` Andrzej Hajda
2017-03-23 11:04     ` Jose Abreu
2017-03-23 11:17       ` Andrzej Hajda
2017-03-23 11:35         ` Jose Abreu
2017-03-23 14:50           ` Andrzej Hajda
2017-03-23 11:07     ` Sharma, Shashank
2017-03-23 15:26       ` Sharma, Shashank
2017-03-22 17:36 ` [RFC 4/5] drm: connector: Add hdmi2_allowed flag Jose Abreu
2017-03-22 17:36 ` [RFC 5/5] drm: Do not expose HDMI 2.0+ modes to userspace/drivers unless asked to Jose Abreu
2017-03-23  7:25   ` Daniel Vetter
2017-03-23 11:02     ` Jose Abreu
2017-03-22 18:13 ` [RFC 0/5] HDMI 2.0+ video modes handling in DRM core Jose Abreu
2017-03-22 18:57   ` Sharma, Shashank
2017-03-23 10:37     ` Jose Abreu
2017-03-23 10:56       ` Sharma, Shashank

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.