summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2024-03-26 16:54:03 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-04-09 21:48:40 -0400
commit2ea6f4d94d0d215798eb1a623f43e5e0fb526f4a (patch)
tree7c8efdd15813c43a68a2bd6677083b52d5feccb3 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parentd7f1487643552f18d1855474eba54a8ff3655935 (diff)
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