]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit647dbf9ac7f20afa0b7640c8ee82ea58c89f1d03
tree79cadb410bcf0c7cf9f86edec8170046993a116c
parent544f85e7103c3085a8bd76cb0187b10f85c77063
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