Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: skip VM inv eng assignment for mes ring

Statically allocated VM inv eng of gfxhub on sienna_cichlid is used up.
Also VM inv eng is no need for mes ring.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Le Ma and committed by
Alex Deucher
b770f04b 7cf609b9

+3
+3
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
··· 357 357 ring = adev->rings[i]; 358 358 vmhub = ring->funcs->vmhub; 359 359 360 + if (ring == &adev->mes.ring) 361 + continue; 362 + 360 363 inv_eng = ffs(vm_inv_engs[vmhub]); 361 364 if (!inv_eng) { 362 365 dev_err(adev->dev, "no VM inv eng for ring %s\n",