aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorShiwu Zhang <shiwu.zhang@amd.com>2023-05-23 12:02:32 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 12:48:57 -0400
commit9d65b1b4bcf3918164e17365eec169875eef8ee3 (patch)
tree1541eab96a0b480ad94c3132deca87e94d68aae5 /drivers/gpu/drm/amd/include/amd_shared.h
parentRevert "Revert drm/amd/display: Enable Freesync Video Mode by default" (diff)
downloadlinux-9d65b1b4bcf3918164e17365eec169875eef8ee3.tar.gz
linux-9d65b1b4bcf3918164e17365eec169875eef8ee3.zip
drm/amdgpu: add the accelerator PCIe class
Add the accelerator PCIe class and match the class in amdgpu for 0x1002 devices of that class. From PCI spec: "PCI Code and ID Assignment, r1.9, sec 1, 1.19" Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com> Acked-by: Lijo Lazar <lijo.lazar@amd.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> # pci_ids.h Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index 57d95e2cc54b..f175e65b853a 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -27,7 +27,6 @@
#define AMD_MAX_USEC_TIMEOUT 1000000 /* 1000 ms */
-#define AMD_ACCELERATOR_PROCESSING 0x1200 /* hardcoded pci class */
/*
* Chip flags