diff options
| author | Jani Nikula <[email protected]> | 2022-05-03 12:24:04 +0300 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2022-05-05 20:28:46 +0300 |
| commit | 58304630b830a1c27457ce2e3a0912555b43d03e (patch) | |
| tree | cc78e658c8a67c6e94a21b3c4a795ec7926486b8 /tools/perf/scripts/python | |
| parent | 8db73897698ccb4eb70ab103245372569ff5a5ec (diff) | |
drm/edid: skip CTA extension scan in drm_edid_to_eld() just for CTA rev
The DisplayID CTA data block version does not necessarily match the CTA
revision. Simplify by postponing drm_edid_to_eld() slightly, and reusing
the CTA revision extracted by drm_parse_cea_ext().
By not bailing out early in drm_edid_to_eld() we may end up filling
meaningless data to the ELD. However, the main decision for audio is not
the ELD, but rather drm_detect_monitor_audio() called by drivers.
(Arguably a future cleanup could do that in drm_add_edid_modes() and
cache the result in the connector.)
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/163ebbfd765066acbfc267256fb3b67fc711a78d.1651569697.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions