diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-09-03 17:55:30 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-13 17:49:45 -0500 |
commit | 050091ab6e832f7df0b700f1b9b596613643ada4 (patch) | |
tree | 029b1045909d1de82c5d75de75861fdef6382e73 /include/drm | |
parent | cd05c865108e089c4be99c0f939c72437fba2207 (diff) | |
download | linux-050091ab6e832f7df0b700f1b9b596613643ada4.tar.bz2 |
drm/amdkfd: Query kfd device info by CHIP id instead of pci device id
This optimizes out the pci device id usage in KFD and makes the code
more maintainable.
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/amd_asic_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h index 296aab724677..8d79940cb602 100644 --- a/include/drm/amd_asic_type.h +++ b/include/drm/amd_asic_type.h @@ -57,4 +57,6 @@ enum amd_asic_type { CHIP_LAST, }; +extern const char *amdgpu_asic_name[]; + #endif /*__AMD_ASIC_TYPE_H__ */ |