]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commitd42af779fb2cf23bbe218c91b44f4979f18bc910
tree13e194be79b1c946df7cbba9523363d96bb15669
parent8856d8e048aa12ee056e24046e22fea7c77817a6
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