]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: assign VM invalidation engine manually v2
authorChristian König <christian.koenig@amd.com>
Fri, 31 Mar 2017 09:03:50 +0000 (11:03 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:19 +0000 (17:32 -0400)
commit19eb0ae30e3b4d712d2911d11608de69995f86dc
tree58f8ef4ac71e584087037fcdf77c203d03b302e5
parent0cb08a3ad86c56576ced40351005194a135cd100
drm/amdgpu: assign VM invalidation engine manually v2

For Vega10 we have 18 VM invalidation engines for each VMHUB.

Start to assign them manually to the rings.

v2: add a BUG_ON if we use to many engines

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c