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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/mes: adjust the VMID masks

The firmware limits the max vmid, but align the
settings with the hw limits as well just to be safe.

Reviewed-by: Shaoyun liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
··· 105 105 spin_lock_init(&adev->mes.ring_lock[i]); 106 106 107 107 adev->mes.total_max_queue = AMDGPU_FENCE_MES_QUEUE_ID_MASK; 108 - adev->mes.vmid_mask_mmhub = 0xffffff00; 109 - adev->mes.vmid_mask_gfxhub = adev->gfx.disable_kq ? 0xfffffffe : 0xffffff00; 108 + adev->mes.vmid_mask_mmhub = 0xFF00; 109 + adev->mes.vmid_mask_gfxhub = adev->gfx.disable_kq ? 0xFFFE : 0xFF00; 110 110 111 111 num_pipes = adev->gfx.me.num_pipe_per_me * adev->gfx.me.num_me; 112 112 if (num_pipes > AMDGPU_MES_MAX_GFX_PIPES)