drm/amdkfd: Fix bug in pipelines initialization
authorOded Gabbay <oded.gabbay@amd.com>
Thu, 22 Jan 2015 09:03:42 +0000 (11:03 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 22 Jan 2015 09:03:42 +0000 (11:03 +0200)
commit749042b012b82616ed15a28138e180c5e5da2067
tree79cadb410bcf0c7cf9f86edec8170046993a116c
parent5a8888a3119eb5b67f6e90605be9ed2e04807126
drm/amdkfd: Fix bug in pipelines initialization

This patch fixes a bug when calling to init_pipeline() interface.
The index that was passed to that function didn't take into account the
first_pipe value, which represents the first pipe index that is under amdkfd's
responsibility.

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>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c