mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
drm/amdgpu: set mmhub bitmask for multiple AIDs
Like GFXHUB, set MMHUB0 bitmask for each AID. Signed-off-by: Le Ma <le.ma@amd.com> Acked-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0d81101c19
commit
5de6bd6a13
|
|
@ -1730,7 +1730,7 @@ static int gmc_v9_0_sw_init(void *handle)
|
|||
break;
|
||||
case IP_VERSION(9, 4, 3):
|
||||
bitmap_set(adev->vmhubs_mask, AMDGPU_GFXHUB(0), adev->gfx.num_xcd);
|
||||
bitmap_set(adev->vmhubs_mask, AMDGPU_MMHUB0(0), 1);
|
||||
bitmap_set(adev->vmhubs_mask, AMDGPU_MMHUB0(0), adev->num_aid);
|
||||
|
||||
amdgpu_vm_adjust_size(adev, 256 * 1024, 9, 3, 48);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user