diff options
| author | Yang Wang <kevinyang.wang@amd.com> | 2024-03-26 16:54:03 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-09 21:48:40 -0400 |
| commit | 2ea6f4d94d0d215798eb1a623f43e5e0fb526f4a (patch) | |
| tree | 7c8efdd15813c43a68a2bd6677083b52d5feccb3 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amdgpu: always force full reset for SOC21 (diff) | |
| download | linux-2ea6f4d94d0d215798eb1a623f43e5e0fb526f4a.tar.gz linux-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 <kevinyang.wang@amd.com>
Reviewed-by: Ma Jun <majun@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
