Re: [PATCH] drm/amdgpu: properly handle GC vs MM in amdgpu_vmid_mgr_init()

2025-04-30 Thread Yadav, Arvind
I also thought for previous patch but else was doing that.  We can use something like this. just alternative solution. if (amdgpu_ip_version(adev, GC_HWIP, 0) < IP_VERSION(10, 0, 0) ||         (!AMDGPU_IS_MMHUB0(i) && !AMDGPU_IS_MMHUB1(i)))         id_mgr->num_ids = adev->vm_manager.first_kfd_vm

Re: [PATCH] drm/amdgpu: properly handle GC vs MM in amdgpu_vmid_mgr_init()

2025-04-30 Thread Alex Deucher
On Wed, Apr 30, 2025 at 1:05 AM Yadav, Arvind wrote: > > Reviewed-by: Arvind Yadav > > On 4/29/2025 11:20 PM, Alex Deucher wrote: > > When kernel queues are disabled, all GC vmids are available > > for the scheduler. MM vmids are still managed by the driver > > so make all 16 available. > > > >

Re: [PATCH] drm/amdgpu: properly handle GC vs MM in amdgpu_vmid_mgr_init()

2025-04-29 Thread Yadav, Arvind
Reviewed-by: Arvind Yadav On 4/29/2025 11:20 PM, Alex Deucher wrote: When kernel queues are disabled, all GC vmids are available for the scheduler. MM vmids are still managed by the driver so make all 16 available. Also fix gmc 10 vs 11 mix up in commit 1f61fc28b939 ("drm/amdgpu/mes: make mor