]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove hard-coded assumptions about compute pipes
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 16 Aug 2017 03:00:03 +0000 (23:00 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 16 Aug 2017 03:00:03 +0000 (23:00 -0400)
commitb4f549145ddbf37f4a4ece65cc376ff200941618
treefe6b72cc7ce18bbc646dd6f6582d83e58528587f
parentca31610be3d42adeafee8bf30d175d48d5932045
drm/amdgpu: Remove hard-coded assumptions about compute pipes

Remove hard-coded assumption that the first compute pipe is
reserved for amdgpu. Pipe 0 actually means pipe 0 now.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c