diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2026-05-20 10:46:17 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-27 10:48:36 -0400 |
| commit | eb53125a7ad99c7fc2f249bffdc561afa002a46c (patch) | |
| tree | 25d17620fa2610b7eae95c274127d1c78fd8bffd /include/linux | |
| parent | deb02080ca5d3f015cf71e56067a39ef2f141998 (diff) | |
drm/amd: Add dedicated helper for amdgpu_device_find_parent()
There are a few cases that code walks up the topology to find the
link partner of the integrated switch in a dGPU. Split this out
to a helper and call in all places.
This does have a functional change that amdgpu_device_gpu_bandwidth()
doesn't cache the internal link but only the parent.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
