drm/amdkfd: Eliminate unnecessary kernel queue function pointers
authorYong Zhao <Yong.Zhao@amd.com>
Fri, 8 Nov 2019 05:30:49 +0000 (00:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:24:36 +0000 (16:24 -0500)
commita5a4d68c9326bba7d6ab414a6c1a404f70ab29b1
tree9ea54766e150fb798531fae36bb1cdbcbd297946
parentf83f5a1e115c8dc382a5abaaf0c10374fbcf1038
drm/amdkfd: Eliminate unnecessary kernel queue function pointers

Up to this point, those functions are all the same for all ASICs, so
no need to call them by functions pointers. Removing the function
pointers will greatly increase the code readablity. If there is ever
need for those function pointers, we can add it back then.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c