drm/amdkfd: replace trivial funcs with direct access
These get funcs simply return an adev field. Replace funcs/calls with direct field accesses instead. 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>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c 0 additions, 30 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h 0 additions, 6 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_chardev.c
- drivers/gpu/drm/amd/amdkfd/kfd_device.c 4 additions, 4 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_device.c
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_topology.c 3 additions, 4 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_topology.c
Loading