aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2025-03-07 17:36:09 +0000
committerPaolo Abeni <[email protected]>2025-03-18 08:03:12 +0000
commit4ca5b8a258b67aa5e06af56e53708cc23ea05e79 (patch)
treeddfb7234debe6c30c2c3a8d5ddf132c5005aad2e /drivers/gpu/drm/i915/display/intel_dp_mst.c
parentnet: phylink: Add a mapping between MAC_CAPS and LINK_CAPS (diff)
downloadkernel-4ca5b8a258b67aa5e06af56e53708cc23ea05e79.tar.gz
kernel-4ca5b8a258b67aa5e06af56e53708cc23ea05e79.zip
net: phylink: Convert capabilities to linkmodes using phy_caps
phylink_caps_to_linkmodes() is used to derive a list of linkmodes that can be conceivably exposed using a given set of speeds and duplex through phylink's MAC capabilities. This list can be derived from the link_caps array in phy_caps, provided we convert the MAC capabilities into a LINK_CAPA bitmask first. Introduce an internal phylink helper phylink_caps_to_link_caps() to convert from MAC capabilities into phy_caps, then phy_caps_linkmodes() to do the link_caps -> linkmodes conversion. This avoids having to update phylink for every new linkmode. Signed-off-by: Maxime Chevallier <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions