]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: cache gpu pcie link width
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2025 16:55:05 +0000 (11:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Jan 2025 14:53:24 +0000 (09:53 -0500)
commit757e8b951ce27bae1c1fd96f9d4c6f14037a542b
tree21cfaff0bea6d28c743835307151293aa1fd3c96
parenta8d42cd228ec41ad99c50a270db82f0dd9127a28
drm/amdgpu: cache gpu pcie link width

Get the PCIe link with of the device itself (or it's
integrated upstream bridge) and cache that.

v2: fix typo

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_device.c
drivers/gpu/drm/amd/include/amd_pcie.h