Re: [PATCH] drm/amdgpu/jpeg: fix race condition issue for jpeg start

2020-06-11 Thread Leo Liu
Reviewed-by: Leo Liu On 2020-06-10 12:36 p.m., James Zhu wrote: Fix race condition issue when multiple jpeg starts are called. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 16 drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 2 ++ 2 files changed, 14

Re: [PATCH] drm/amdgpu/jpeg: fix race condition issue for jpeg start

2020-06-10 Thread Nirmoy
Acked-by: Nirmoy Das On 6/10/20 6:36 PM, James Zhu wrote: Fix race condition issue when multiple jpeg starts are called. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 16 drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 2 ++ 2 files changed, 14 inser

[PATCH] drm/amdgpu/jpeg: fix race condition issue for jpeg start

2020-06-10 Thread James Zhu
Fix race condition issue when multiple jpeg starts are called. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 16 drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 2 ++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu