Re: [PATCH] drm/amdkfd: replace trivial funcs with direct access

2021-11-05 Thread Felix Kuehling
On 2021-11-05 2:43 p.m., Graham Sider wrote: These get funcs simply return an adev field. Replace funcs/calls with direct field accesses instead. Signed-off-by: Graham Sider Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c| 30 --- drivers/

[PATCH] drm/amdkfd: replace trivial funcs with direct access

2021-11-05 Thread Graham Sider
These get funcs simply return an adev field. Replace funcs/calls with direct field accesses instead. Signed-off-by: Graham Sider --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c| 30 --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h| 6 drivers/gpu/drm/amd/amdkfd/kfd_cha