diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2015-01-22 05:50:37 -0500 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2015-01-22 05:50:37 -0500 |
commit | 9fa843e76d9092e5348aac7252cbb71f09902507 (patch) | |
tree | bf1c725f514baa697b1ccd9a00372394620ca063 | |
parent | 749042b012b82616ed15a28138e180c5e5da2067 (diff) |
drm/amdkfd: Fix bug in call to init_pipelines()
This patch fixes a bug where the first_pipe index passed into init_pipelines()
was a #define instead of the value that is passed into amdkfd by radeon
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c index cd0710af0031..0d8694f015c1 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | |||
@@ -588,7 +588,7 @@ static int init_scheduler(struct device_queue_manager *dqm) | |||
588 | 588 | ||
589 | pr_debug("kfd: In %s\n", __func__); | 589 | pr_debug("kfd: In %s\n", __func__); |
590 | 590 | ||
591 | retval = init_pipelines(dqm, get_pipes_num(dqm), KFD_DQM_FIRST_PIPE); | 591 | retval = init_pipelines(dqm, get_pipes_num(dqm), get_first_pipe(dqm)); |
592 | if (retval != 0) | 592 | if (retval != 0) |
593 | return retval; | 593 | return retval; |
594 | 594 | ||