OSDN Git Service

drm/amdkfd: remove hardcoded device_info structs
authorGraham Sider <Graham.Sider@amd.com>
Thu, 18 Nov 2021 21:09:58 +0000 (16:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Dec 2021 21:15:47 +0000 (16:15 -0500)
commit2c1f19b3272c0c09184b1cce592a91dc34a83506
tree023d8f5989068ea0c0e1649f1d243a191469a069
parentf0dc99a6f742bce9f5e45a6ca48bc4f1f8c6bac8
drm/amdkfd: remove hardcoded device_info structs

With device_info initialization being handled in kfd_device_info_init,
these structs may be removed. Also add comments to help matching IP
versions to asic names.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c