diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2023-10-17 16:30:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-28 17:07:22 +0000 |
commit | 965dce07a4fc5b15c07c73124f5016240a7250ef (patch) | |
tree | a8c0110a30c3108db8f96c5304d571311a61aac8 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 8e54a91d3e66b9730861f10345238ff5ef979d3d (diff) |
drm/amdgpu: don't use pci_is_thunderbolt_attached()
commit 7b1c6263eaf4fd64ffe1cafdc504a42ee4bfbb33 upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions