diff options
author | Graham Sider <Graham.Sider@amd.com> | 2021-11-11 11:28:45 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-01 16:15:29 -0500 |
commit | b7675b7bbc3c4c64731d6df66a1df7abd0fe2f9e (patch) | |
tree | 9478c48ca328521ebf9861026d8cac89817d31b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 992110d747177e5815cf89003732ae69cd70913f (diff) |
drm/amdkfd: replace asic_name with amdgpu_asic_name
device_info->asic_name and amdgpu_asic_name[adev->asic_type] both
provide asic name strings, with the only difference being casing.
Remove asic_name from device_info and replace sysfs entry with lowercase
amdgpu_asic_name[]. Ensures string is null-terminated so that this
doesn't break if dev->node_props.name ever gets set anywhere else.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions