Re: [RFC 0/5] HDMI 2.0+ video modes handling in DRM core
Hi Shashank, On 22-03-2017 18:57, Sharma, Shashank wrote: > Hi Jose, > I can't find the other patches of this series in dri patchwork, am I missing > something ? You can find them now in patchwork (I don't know what happened). > > Also, I am planning to publish a series for YUV 420 handling, where I have > re-used one of your patch to parse YUV 420 block, with some modifications > :-). Nice :) Please cc me and I will try to review them. Best regards, Jose Miguel Abreu > > Regards > Shashank > -Original Message- > From: Jose Abreu [mailto:jose.ab...@synopsys.com] > Sent: Wednesday, March 22, 2017 8:13 PM > To: dri-devel@lists.freedesktop.org > Cc: Carlos Palminha <carlos.palmi...@synopsys.com>; Vetter, Daniel > <daniel.vet...@intel.com>; Sharma, Shashank <shashank.sha...@intel.com>; > ville.syrj...@linux.intel.com > Subject: Re: [RFC 0/5] HDMI 2.0+ video modes handling in DRM core > > ++ Daniel > > ++ Ville > > ++ Shashank > > > On 22-03-2017 17:35, Jose Abreu wrote: >> 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.sha...@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 <palmi...@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(-) >> > ___ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_dri-2Ddevel=DwIGaQ=DPL6_X_6JkXFx7AXWqB0tg=yaVFU4TjGY0gVF8El1uKcisy6TPsyCl9uN7Wsis-qhY=2OKRtIbkxjKURLp5pmoJ8lSSpsZfM6cXwik8mwS0U_4=oxPm-LzATMtdXVlKmybIHwYKhKvT-eeayLhz7xRtQkg= > ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [RFC 0/5] HDMI 2.0+ video modes handling in DRM core
I realized it was too early to search that in dri-devel last night, I guess it takes some time to sync. Now I can see them all :) On 3/23/2017 12:37 PM, Jose Abreu wrote: Hi Shashank, On 22-03-2017 18:57, Sharma, Shashank wrote: Hi Jose, I can't find the other patches of this series in dri patchwork, am I missing something ? You can find them now in patchwork (I don't know what happened). Also, I am planning to publish a series for YUV 420 handling, where I have re-used one of your patch to parse YUV 420 block, with some modifications :-). Nice :) Please cc me and I will try to review them. Best regards, Jose Miguel Abreu Regards Shashank -Original Message- From: Jose Abreu [mailto:jose.ab...@synopsys.com] Sent: Wednesday, March 22, 2017 8:13 PM To: dri-devel@lists.freedesktop.org Cc: Carlos Palminha <carlos.palmi...@synopsys.com>; Vetter, Daniel <daniel.vet...@intel.com>; Sharma, Shashank <shashank.sha...@intel.com>; ville.syrj...@linux.intel.com Subject: Re: [RFC 0/5] HDMI 2.0+ video modes handling in DRM core ++ Daniel ++ Ville ++ Shashank On 22-03-2017 17:35, Jose Abreu wrote: 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.sha...@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 <palmi...@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(-) ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_dri-2Ddevel=DwIGaQ=DPL6_X_6JkXFx7AXWqB0tg=yaVFU4TjGY0gVF8El1uKcisy6TPsyCl9uN7Wsis-qhY=2OKRtIbkxjKURLp5pmoJ8lSSpsZfM6cXwik8mwS0U_4=oxPm-LzATMtdXVlKmybIHwYKhKvT-eeayLhz7xRtQkg= ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [RFC 0/5] HDMI 2.0+ video modes handling in DRM core
++ Daniel ++ Ville ++ Shashank On 22-03-2017 17:35, Jose Abreu wrote: > 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 Sharmaso, 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 > 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(-) > ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
RE: [RFC 0/5] HDMI 2.0+ video modes handling in DRM core
Hi Jose, I can't find the other patches of this series in dri patchwork, am I missing something ? Also, I am planning to publish a series for YUV 420 handling, where I have re-used one of your patch to parse YUV 420 block, with some modifications :-). Regards Shashank -Original Message- From: Jose Abreu [mailto:jose.ab...@synopsys.com] Sent: Wednesday, March 22, 2017 8:13 PM To: dri-devel@lists.freedesktop.org Cc: Carlos Palminha <carlos.palmi...@synopsys.com>; Vetter, Daniel <daniel.vet...@intel.com>; Sharma, Shashank <shashank.sha...@intel.com>; ville.syrj...@linux.intel.com Subject: Re: [RFC 0/5] HDMI 2.0+ video modes handling in DRM core ++ Daniel ++ Ville ++ Shashank On 22-03-2017 17:35, Jose Abreu wrote: > 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.sha...@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 <palmi...@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(-) > ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel