drm/i915: Parse max link rate from the eDP BDB block
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 2 Jun 2022 20:57:23 +0000 (23:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Jun 2022 10:27:37 +0000 (13:27 +0300)
commit24b8b74eb2eb578fee046c70681000f61afa5680
tree3a8a1d648e5e4a3eb242df044d2c7f060523ae86
parentf06d1d66d54c223e4f0f73393d94afd88105b6f3
drm/i915: Parse max link rate from the eDP BDB block

The eDP BDB block has gained yet another max link rate field.
Let's parse it and consult it during the source rate filtering.

v2: *20 instead of *2 to get the correct units (Jani)

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