diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2023-10-17 16:30:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-03 11:59:44 -0400 |
commit | 7b1c6263eaf4fd64ffe1cafdc504a42ee4bfbb33 (patch) | |
tree | 1ee71463954c69acd7e130a32316d7141e6a4934 /drivers/gpu/drm/amd/amdgpu/ObjectID.h | |
parent | 432e664e7c98c243fab4c3c95bd463bea3aeed28 (diff) |
drm/amdgpu: don't use pci_is_thunderbolt_attached()
It's only valid on Intel systems with the Intel VSEC.
Use dev_is_removable() instead. This should do the right
thing regardless of the platform.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2925
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ObjectID.h')
0 files changed, 0 insertions, 0 deletions