[Intel-gfx] [PATCH v4] drm/i915/vbt: update DP max link rate table
Ville Syrjälä
ville.syrjala at linux.intel.com
Sat Feb 20 10:23:26 UTC 2021
On Thu, Feb 18, 2021 at 01:23:33PM +0800, Lee Shawn C wrote:
> According to Bspec #20124, max link rate table for DP was updated
> at BDB version 230. Max link rate can support upto UHBR.
>
> After migrate to BDB v230, the definition for LBR, HBR2 and HBR3
> were changed. For backward compatibility. If BDB version was
> from 216 to 229. Driver have to follow original rule to configure
> DP max link rate value from VBT.
>
> v2: split the mapping table to two for old and new BDB definition.
> v3: return link rate instead of assigning it.
> v4: remove the useless variable.
>
> Cc: Ville Syrjala <ville.syrjala at linux.intel.com>
> Cc: Imre Deak <imre.deak at intel.com>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Cc: Cooper Chiou <cooper.chiou at intel.com>
> Cc: William Tseng <william.tseng at intel.com>
> Signed-off-by: Lee Shawn C <shawn.c.lee at intel.com>
> ---
<snip>
> @@ -445,8 +456,8 @@ struct child_device_config {
> u16 dp_gpio_pin_num; /* 195 */
> u8 dp_iboost_level:4; /* 196 */
> u8 hdmi_iboost_level:4; /* 196 */
> - u8 dp_max_link_rate:2; /* 216 CNL+ */
> - u8 dp_max_link_rate_reserved:6; /* 216 */
> + u8 dp_max_link_rate:3; /* 230 CNL+ */
> + u8 dp_max_link_rate_reserved:5; /* 230 */
I tweaked the comments here to say "216/230" to retain some hint
that version 216 already added some of this.
And now pushed. Thanks.
> } __packed;
>
> struct bdb_general_definitions {
> --
> 2.17.1
--
Ville Syrjälä
Intel
More information about the Intel-gfx
mailing list