]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/jpeg: fix race condition issue for jpeg start
authorJames Zhu <James.Zhu@amd.com>
Wed, 10 Jun 2020 16:10:20 +0000 (12:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:19 +0000 (01:59 -0400)
commit101d271b62aeb51b1fb48fa57e10968bd200fb6c
tree468b464c3be55471f98fb6b7330dd90faf3c8e95
parent3b92fb34cd603f4874c63161790f6014932ecaf8
drm/amdgpu/jpeg: fix race condition issue for jpeg start

Fix race condition issue when multiple jpeg starts are called.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h