aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2025-06-06 09:43:20 +0000
committerJakub Kicinski <[email protected]>2025-06-12 15:00:53 +0000
commitd4e6cb324dcc952618fec6b25aa3fc7bfc2750b4 (patch)
tree5c8934d36976db891d242bd83cf7f6cf4b407af0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentMAINTAINERS: Update Kuniyuki Iwashima's email address. (diff)
downloadkernel-d4e6cb324dcc952618fec6b25aa3fc7bfc2750b4.tar.gz
kernel-d4e6cb324dcc952618fec6b25aa3fc7bfc2750b4.zip
net: phy: phy_caps: Don't skip better duplex macth on non-exact match
When performing a non-exact phy_caps lookup, we are looking for a supported mode that matches as closely as possible the passed speed/duplex. Blamed patch broke that logic by returning a match too early in case the caller asks for half-duplex, as a full-duplex linkmode may match first, and returned as a non-exact match without even trying to mach on half-duplex modes. Reported-by: Jijie Shao <[email protected]> Closes: https://lore.kernel.org/netdev/20250603102500.4ec743cf@fedora/T/#m22ed60ca635c67dc7d9cbb47e8995b2beb5c1576 Tested-by: Jijie Shao <[email protected]> Reviewed-by: Larysa Zaremba <[email protected]> Fixes: fc81e257d19f ("net: phy: phy_caps: Allow looking-up link caps based on speed and duplex") Signed-off-by: Maxime Chevallier <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions