]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix the PCIe lanes reporting in the INFO IOCTL
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2025 17:19:11 +0000 (12:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Jan 2025 14:53:30 +0000 (09:53 -0500)
commit64314e3f9c11578b28f145fc9a4b37ca1196fafd
tree972508d4b9df197a7eed32a487f326af6ba734b1
parent757e8b951ce27bae1c1fd96f9d4c6f14037a542b
drm/amdgpu: fix the PCIe lanes reporting in the INFO IOCTL

Combine the platform and GPU caps like we do for PCIe Gen.
This aligns properly with expectations and documentation
for the interface.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3820
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c