drm/amdgpu:enable mcbp for gfx9(v2)
authorMonk Liu <Monk.Liu@amd.com>
Tue, 21 Mar 2017 03:50:43 +0000 (11:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:35 +0000 (23:55 -0400)
commit9ccd52eb248b0d8f0450e1201a8064f5ab1ec07e
tree0c8cfea90d21e04347d7f1b5718168be15e74be4
parent806ba2d4f523f7414103fa0bdd2e3b17a340ac41
drm/amdgpu:enable mcbp for gfx9(v2)

set bit 21 of IB.control filed to actually enable
MCBP for SRIOV
v2:
add flag for preemption enable bit for soc15 and use
this flag instead of hardcode.

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