]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdf3524710b8f4f8f7b71a4b33ecfde39d780ecc
tree9ea54766e150fb798531fae36bb1cdbcbd297946
parent32461d2ff422dc5bdaabb016cb56b472349c08d6
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