Jani Nikula f0f427f385 drm/edid: fix parsing of 3D modes from HDMI VSDB
commit 72794d16bd535a984e6653a18f5862405b49b5f9 upstream.

Commit 537d9ed2f6c1 ("drm/edid: convert add_cea_modes() to use cea db
iter") inadvertently moved the do_hdmi_vsdb_modes() call within the db
iteration loop, always passing NULL as the CTA VDB to
do_hdmi_vsdb_modes(), skipping a lot of stereo modes.

Move the call back outside of the loop.

This does mean only one CTA VDB and HDMI VSDB combination will be
handled, but it's an unlikely scenario to have more than one of either
block, and it was not accounted for before the regression either.

Fixes: 537d9ed2f6c1 ("drm/edid: convert add_cea_modes() to use cea db iter")
Cc: <stable@vger.kernel.org> # v6.0+
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/cf159b8816191ed595a3cb954acaf189c4528cc7.1672826282.git.jani.nikula@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:33 +01:00
..
2022-09-26 09:11:47 +02:00
2022-10-05 11:24:12 -07:00
2023-03-10 09:34:33 +01:00
2022-10-05 11:24:12 -07:00
2022-10-10 13:59:01 -07:00
2022-08-16 12:46:26 +02:00
2022-09-20 09:37:12 +02:00
2022-10-05 11:24:12 -07:00
2022-08-26 14:22:59 +02:00
2022-07-13 10:54:56 +10:00
2022-06-28 07:56:32 +02:00
2022-09-06 10:56:04 +02:00
2022-10-05 11:24:12 -07:00
2022-04-12 09:27:20 +03:00
2023-02-22 12:59:46 +01:00
2022-10-07 17:04:10 -07:00