Re: [PATCH v3] drm/amdkfd: simplify vm_validate_pt_pd_bos

2022-06-30 Thread Felix Kuehling
On 2022-06-14 05:03, Lang Yu wrote: We don't need to validate and map root PD specially here, it would be validated and mapped by amdgpu_vm_validate_pt_bos if it is evicted. The special case is when turning a GFX VM to a compute VM, if vm_update_mode changed, we should make sure root PD gets map

RE: [PATCH v3] drm/amdkfd: simplify vm_validate_pt_pd_bos

2022-06-30 Thread Yu, Lang
ang, Ray >Subject: Re: [PATCH v3] drm/amdkfd: simplify vm_validate_pt_pd_bos > >Am 14.06.22 um 11:03 schrieb Lang Yu: >> We don't need to validate and map root PD specially here, it would be >> validated and mapped by amdgpu_vm_validate_pt_bos if it is evicted. >>

Re: [PATCH v3] drm/amdkfd: simplify vm_validate_pt_pd_bos

2022-06-14 Thread Christian König
Am 14.06.22 um 11:03 schrieb Lang Yu: We don't need to validate and map root PD specially here, it would be validated and mapped by amdgpu_vm_validate_pt_bos if it is evicted. The special case is when turning a GFX VM to a compute VM, if vm_update_mode changed, we should make sure root PD gets m