]> 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)
commit3150f346e2c40d2de675fd0870b2a83eac106b2f
tree13e194be79b1c946df7cbba9523363d96bb15669
parent603708524ca24e2e7bff036362bf58871ec6da75
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