drm/amdgpu:implement cond_exec for gfx8
authorMonk Liu <Monk.Liu@amd.com>
Fri, 24 Mar 2017 04:07:52 +0000 (12:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:34 +0000 (23:55 -0400)
commit806ba2d4f523f7414103fa0bdd2e3b17a340ac41
tree709309e0dcaf593272f61bd3916cd546c4fa98ba
parent65333e4429c60b8bbbb7a9213cb5612761499acd
drm/amdgpu:implement cond_exec for gfx8

when MCBP enabled for gfx8, the cond_exec must also
be implemented, otherwise there will be odds to meet
cross engine (ce and me) deadlock when world switch
happens.

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