drm/i915/bios: Fixup h/vsync_end instead of h/vtotal
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Sep 2023 21:19:34 +0000 (00:19 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 21 Sep 2023 19:47:40 +0000 (22:47 +0300)
commitbb6f53d4f5be085dd3cffdcb5e32719cdf63466b
treee85dd8e39a6e6069fc5f228470d6d471cf2b3c6e
parent3d3696c0fed102c56a6addd81070d3679dba4fdf
drm/i915/bios: Fixup h/vsync_end instead of h/vtotal

We have the same h/vsync_end vs. h/vtotal quirk in the VBT parser
that was also present in EDID parser. Adjust the VBT parser the
same way as was done for hte EDID parser to fixup h/vsync_end
instead of h/vtotal. While I'm not currently aware of any machines
that need this for the VBT it seems prudent to keep both parsers
in sync.

And while at it let's add some debugs here as well. A bit
lackluster but didn't feel like plumbing the connector all
the way down at this time.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230920211934.14920-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c