From 24b8b74eb2eb578fee046c70681000f61afa5680 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Thu, 2 Jun 2022 23:57:23 +0300 Subject: drm/i915: Parse max link rate from the eDP BDB block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20220602205723.11341-1-ville.syrjala@linux.intel.com --- drivers/gpu/drm/i915/display/intel_vbt_defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/drm/i915/display/intel_vbt_defs.h') diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h index 58aee0a040cf..f8e5097222f2 100644 --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h @@ -697,6 +697,7 @@ struct bdb_edp { u16 apical_enable; /* 203 */ struct edp_apical_params apical_params[16]; /* 203 */ u16 edp_fast_link_training_rate[16]; /* 224 */ + u16 edp_max_port_link_rate[16]; /* 244 */ } __packed; /* -- cgit v1.2.3-59-g8ed1b