From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: Cooper Chiou <cooper.chiou@intel.com>,
william.tseng@intel.com, intel-gfx@lists.freedesktop.org,
dri-devel@lists.freedesktop.org,
Drew Davenport <ddavenport@chromium.org>
Subject: Re: [Intel-gfx] [RFC 00/19] drm/edid: overhaul CEA data block iteration
Date: Wed, 23 Mar 2022 18:38:25 +0200 [thread overview]
Message-ID: <YjtNAezEMwx5luCR@intel.com> (raw)
In-Reply-To: <cover.1647985054.git.jani.nikula@intel.com>
On Tue, Mar 22, 2022 at 11:40:29PM +0200, Jani Nikula wrote:
> Add iterators for EDID blocks and CEA data blocks, to iterate through
> all data blocks across all CEA extensions and CTA blocks in DisplayID
> data blocks. Fix all code assuming only one CEA extension. Fix code
> assuming CTA blocks contain everything that CEA extensions do. Sprinkle
> a bunch of cleanups on top.
>
> This is completely UNTESTED, didn't even smoke test it. It builds. ;)
Despite that it's now
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Left a few minor comments here and there.
>
> This superseeds parts of [1] and [2].
>
> BR,
> Jani.
>
> [1] https://patchwork.freedesktop.org/series/101241/
> [2] https://patchwork.freedesktop.org/patch/msgid/20220321044330.27723-1-cooper.chiou@intel.com
>
>
> Cc: Shawn C Lee <shawn.c.lee@intel.com>
> Cc: Cooper Chiou <cooper.chiou@intel.com>
> Cc: william.tseng@intel.com
> Cc: ankit.k.nautiyal@intel.com
> Cc: ville.syrjala@linux.intel.com
> Cc: Drew Davenport <ddavenport@chromium.org>
>
> Jani Nikula (19):
> drm/edid: add drm_edid_extension_block_count() and drm_edid_size()
> drm: use drm_edid_extension_block_count() and drm_edid_size()
> drm/edid: clean up CEA data block tag definitions
> drm/edid: add iterator for EDID base and extension blocks
> drm/edid: add iterator for CEA data blocks
> drm/edid: clean up cea_db_is_*() functions
> drm/edid: convert add_cea_modes() to use cea db iter
> drm/edid: convert drm_edid_to_speaker_allocation() to use cea db iter
> drm/edid: convert drm_edid_to_sad() to use cea db iter
> drm/edid: convert drm_detect_hdmi_monitor() to use cea db iter
> drm/edid: convert drm_detect_monitor_audio() to use cea db iter
> drm/edid: convert drm_parse_cea_ext() to use cea db iter
> drm/edid: convert drm_edid_to_eld() to use cea db iter
> drm/edid: sunset the old unused cea data block iterators
> drm/edid: restore some type safety to cea_db_*() functions
> drm/edid: detect basic audio only on CEA extension
> drm/edid: detect color formats and CEA revision only on CEA extension
> drm/edid: skip CEA extension scan in drm_edid_to_eld() just for CEA
> rev
> drm/edid: sunset drm_find_cea_extension()
>
> drivers/gpu/drm/drm_connector.c | 2 +-
> drivers/gpu/drm/drm_debugfs.c | 3 +-
> drivers/gpu/drm/drm_edid.c | 781 ++++++++++++++++++--------------
> include/drm/drm_edid.h | 2 +
> 4 files changed, 455 insertions(+), 333 deletions(-)
>
> --
> 2.30.2
--
Ville Syrjälä
Intel
prev parent reply other threads:[~2022-03-23 16:38 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 21:40 [Intel-gfx] [RFC 00/19] drm/edid: overhaul CEA data block iteration Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 01/19] drm/edid: add drm_edid_extension_block_count() and drm_edid_size() Jani Nikula
2022-03-23 15:21 ` Ville Syrjälä
2022-03-22 21:40 ` [Intel-gfx] [RFC 02/19] drm: use " Jani Nikula
2022-03-23 15:24 ` Ville Syrjälä
2022-03-22 21:40 ` [Intel-gfx] [RFC 03/19] drm/edid: clean up CEA data block tag definitions Jani Nikula
2022-03-23 15:33 ` Ville Syrjälä
2022-03-22 21:40 ` [Intel-gfx] [RFC 04/19] drm/edid: add iterator for EDID base and extension blocks Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 05/19] drm/edid: add iterator for CEA data blocks Jani Nikula
2022-03-23 16:05 ` Ville Syrjälä
2022-03-22 21:40 ` [Intel-gfx] [RFC 06/19] drm/edid: clean up cea_db_is_*() functions Jani Nikula
2022-03-23 15:43 ` Ville Syrjälä
2022-03-23 17:26 ` Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 07/19] drm/edid: convert add_cea_modes() to use cea db iter Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 08/19] drm/edid: convert drm_edid_to_speaker_allocation() " Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 09/19] drm/edid: convert drm_edid_to_sad() " Jani Nikula
2022-03-23 16:18 ` Ville Syrjälä
2022-03-22 21:40 ` [Intel-gfx] [RFC 10/19] drm/edid: convert drm_detect_hdmi_monitor() " Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 11/19] drm/edid: convert drm_detect_monitor_audio() " Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 12/19] drm/edid: convert drm_parse_cea_ext() " Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 13/19] drm/edid: convert drm_edid_to_eld() " Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 14/19] drm/edid: sunset the old unused cea data block iterators Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 15/19] drm/edid: restore some type safety to cea_db_*() functions Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 16/19] drm/edid: detect basic audio only on CEA extension Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 17/19] drm/edid: detect color formats and CEA revision " Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 18/19] drm/edid: skip CEA extension scan in drm_edid_to_eld() just for CEA rev Jani Nikula
2022-03-22 21:40 ` [Intel-gfx] [RFC 19/19] drm/edid: sunset drm_find_cea_extension() Jani Nikula
2022-03-23 16:36 ` Ville Syrjälä
2022-03-22 22:07 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: overhaul CEA data block iteration Patchwork
2022-03-22 22:09 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-03-22 22:13 ` [Intel-gfx] ✗ Fi.CI.DOCS: " Patchwork
2022-03-22 22:37 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-03-23 7:06 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-03-23 16:38 ` Ville Syrjälä [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YjtNAezEMwx5luCR@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=cooper.chiou@intel.com \
--cc=ddavenport@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=william.tseng@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox