diff options
| author | Yang Wang <[email protected]> | 2024-03-26 08:54:03 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-10 01:48:40 +0000 |
| commit | 2ea6f4d94d0d215798eb1a623f43e5e0fb526f4a (patch) | |
| tree | 7c8efdd15813c43a68a2bd6677083b52d5feccb3 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amdgpu: always force full reset for SOC21 (diff) | |
| download | kernel-2ea6f4d94d0d215798eb1a623f43e5e0fb526f4a.tar.gz kernel-2ea6f4d94d0d215798eb1a623f43e5e0fb526f4a.zip | |
drm/amdgpu: make amdgpu device attr_update() function more efficient
v1:
add a new enumeration type to identify device attribute node,
this method is relatively more efficient compared with 'strcmp' in
update_attr() function.
v2:
rename device_attr_type to device_attr_id.
Signed-off-by: Yang Wang <[email protected]>
Reviewed-by: Ma Jun <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
