Re: [PATCH v2 08/10] drm/amdgpu: fix locking scope when flushing tlb

2024-05-28 Thread Christian König
Am 28.05.24 um 19:23 schrieb Yunxiang Li: Which method is used to flush tlb does not depend on whether a reset is in progress or not. We should skip flush altogether if the GPU will get reset. So put both path under reset_domain read lock. Signed-off-by: Yunxiang Li Reviewed-by: Christian Kön

[PATCH v2 08/10] drm/amdgpu: fix locking scope when flushing tlb

2024-05-28 Thread Yunxiang Li
Which method is used to flush tlb does not depend on whether a reset is in progress or not. We should skip flush altogether if the GPU will get reset. So put both path under reset_domain read lock. Signed-off-by: Yunxiang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 66 +-