]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Use new struct for asic specific ops
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 5 May 2015 08:51:31 +0000 (11:51 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 May 2015 09:13:38 +0000 (12:13 +0300)
commitf457facf537108426b8f5830d488ebef9ed7e3d1
tree13e194be79b1c946df7cbba9523363d96bb15669
parent16b00bb94775823954be3c40c27a8d5fa41489a7
drm/amdkfd: Use new struct for asic specific ops

This patch creates a new structure for asic specific operations, instead
of using the existing structure of operations.

This is done to make the code flow more logic, readable and maintainable.

The change is done only to the device queue manager module at this point.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c