summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2015-05-05 11:51:31 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2015-05-19 12:13:38 +0300
commitd42af779fb2cf23bbe218c91b44f4979f18bc910 (patch)
tree13e194be79b1c946df7cbba9523363d96bb15669 /drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
parent8856d8e048aa12ee056e24046e22fea7c77817a6 (diff)
downloadop-kernel-dev-d42af779fb2cf23bbe218c91b44f4979f18bc910.zip
op-kernel-dev-d42af779fb2cf23bbe218c91b44f4979f18bc910.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
index 20553dc..8b00ccf 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
@@ -33,7 +33,7 @@ static int register_process_vi(struct device_queue_manager *dqm,
struct qcm_process_device *qpd);
static int initialize_cpsch_vi(struct device_queue_manager *dqm);
-void device_queue_manager_init_vi(struct device_queue_manager_ops *ops)
+void device_queue_manager_init_vi(struct device_queue_manager_asic_ops *ops)
{
pr_warn("amdkfd: VI DQM is not currently supported\n");
OpenPOWER on IntegriCloud