drm/amdgpu:protect cs submit
authorMonk Liu <Monk.Liu@amd.com>
Wed, 8 Mar 2017 07:51:13 +0000 (15:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:33 +0000 (23:55 -0400)
commit9a1b3af10d6268a98076a4397cb1d47c4713efc7
tree9e50e8d3461ccd5664188eb9b21961b9e0a48456
parent2a9ceb8daab01a4ee27383e4d344e4a8b781c165
drm/amdgpu:protect cs submit

to prevent submit two or more IBs with PREEMPT flags.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c