Re: [PATCH 1/2] drm/amdgpu: use CPU to update VM during GPU reset

2024-04-02 Thread Christian König
Am 02.04.24 um 10:47 schrieb Yu, Lang: [AMD Official Use Only - General] -Original Message- From: Koenig, Christian Sent: Friday, March 29, 2024 7:08 PM To: Yu, Lang ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: Re: [PATCH 1/2] drm/amdgpu: use CPU to update VM

RE: [PATCH 1/2] drm/amdgpu: use CPU to update VM during GPU reset

2024-04-02 Thread Yu, Lang
[AMD Official Use Only - General] >-Original Message- >From: Koenig, Christian >Sent: Friday, March 29, 2024 7:08 PM >To: Yu, Lang ; amd-gfx@lists.freedesktop.org >Cc: Deucher, Alexander >Subject: Re: [PATCH 1/2] drm/amdgpu: use CPU to update VM during GPU >reset &g

Re: [PATCH 1/2] drm/amdgpu: use CPU to update VM during GPU reset

2024-03-29 Thread Christian König
Am 25.03.24 um 06:35 schrieb Lang Yu: drm sched is stopped and SDMA mode is not available, while CPU mode worked well in such a case. Use case, amdgpu_do_asic_reset amdgpu_device_ip_late_init umsch_mm_late_init umsch_mm_test amdgpu_vm_init Well big NAK to that. The VM updates should just be s

RE: [PATCH 1/2] drm/amdgpu: use CPU to update VM during GPU reset

2024-03-27 Thread Yu, Lang
[AMD Official Use Only - General] Please ignore this one. If user space calls amdgpu_vm_init between gpu reset start and end(driver doesn't prevent user space from doing that), this will change VM update mode and affect user space. That's not expected. Will find another way to solve this. Reg