Re: [PATCH] drm/amdgpu: Set no_hw_access when VF request full GPU fails

2024-06-28 Thread Deucher, Alexander
[Public] Acked-by: Alex Deucher From: Yifan Zha Sent: Friday, June 28, 2024 4:42 AM To: amd-gfx@lists.freedesktop.org ; Deucher, Alexander ; Zhang, Hawking Cc: Chen, Horace ; Chang, HaiJun ; Zha, YiFan(Even) Subject: [PATCH] drm/amdgpu: Set no_hw_access when

[PATCH] drm/amdgpu: Set no_hw_access when VF request full GPU fails

2024-06-28 Thread Yifan Zha
[Why] If VF request full GPU access and the request failed, the VF driver can get stuck accessing registers for an extended period during the unload of KMS. [How] Set no_hw_access flag when VF request for full GPU access fails This prevents further hardware access attempts, avoiding the prolonged