OSDN Git Service

drm/amdgpu: use sched fence if possible
authorMonk Liu <Monk.Liu@amd.com>
Thu, 17 Mar 2016 05:57:09 +0000 (13:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Mar 2016 15:54:53 +0000 (11:54 -0400)
commit676d8c24f3e825484085d10fc1768cab46ed5166
tree642fb86a1a6d9b0f8b710dc6e994aaecd2e06c49
parent73cfa5f5cec3f4b99185d3535928dee6d01ba2f6
drm/amdgpu: use sched fence if possible

when preemption feature lands, the SA bo should rely on sched
fence, because hw fence will be invalid after its job preempted
or skipped.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c