drm/amdgpu: support cond exec
authorMonk Liu <monk.liu@amd.com>
Thu, 14 Jan 2016 10:08:16 +0000 (18:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 May 2016 19:09:17 +0000 (15:09 -0400)
commit128cff1af68689cf4d85d3ba948c86a194dee30f
tree70a6e6963ea61a58fa1500d5d571e4a52263d78e
parent8e9fbeb522fa3043dc65ef0e383af28843950799
drm/amdgpu: support cond exec

This adds the groundwork for conditional execution on
SDMA which is necessary for preemption.

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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c