diff options
| author | Shiwu Zhang <shiwu.zhang@amd.com> | 2023-05-22 15:58:10 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 11:07:16 -0400 |
| commit | 5d6cd20075c823565e7550f8de70d7615ec3c8b7 (patch) | |
| tree | 21ecc8658aff2de13edaf674f06c2bad09053a6e /drivers/gpu/drm/amd/include/amd_shared.h | |
| parent | drm/amdgpu: save/restore part of xcp drm_device fields (diff) | |
| download | linux-5d6cd20075c823565e7550f8de70d7615ec3c8b7.tar.gz linux-5d6cd20075c823565e7550f8de70d7615ec3c8b7.zip | |
drm/amdgpu: add the accelerator pcie class
v2: add the base class id for accelerator (lijo)
v3: add the new pci class in amdgpu tree (hawking)
Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Acked-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index f175e65b853a..57d95e2cc54b 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -27,6 +27,7 @@ #define AMD_MAX_USEC_TIMEOUT 1000000 /* 1000 ms */ +#define AMD_ACCELERATOR_PROCESSING 0x1200 /* hardcoded pci class */ /* * Chip flags |
