summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2023-10-17 15:40:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:07:22 +0000
commit2ab6c1237bd4a961b8d5032671510a028fb9f0f6 (patch)
tree4cf4ce4118f8a5815354c50c43cdaf00fa2f8d23 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent965dce07a4fc5b15c07c73124f5016240a7250ef (diff)
drm/amdgpu: don't use ATRM for external devices
commit 432e664e7c98c243fab4c3c95bd463bea3aeed28 upstream. The ATRM ACPI method is for fetching the dGPU vbios rom image on laptops and all-in-one systems. It should not be used for external add in cards. If the dGPU is thunderbolt connected, don't try ATRM. v2: pci_is_thunderbolt_attached only works for Intel. Use pdev->external_facing instead. v3: dev_is_removable() seems to be what we want 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