drm/amdgpu:fix the check in cs_ib_fill for SRIOV
authorMonk Liu <Monk.Liu@amd.com>
Mon, 27 Mar 2017 07:14:53 +0000 (15:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:34 +0000 (23:55 -0400)
commit65333e4429c60b8bbbb7a9213cb5612761499acd
treebad1ecae493a70c18b595a51224c5ef7882df192
parent9a1b3af10d6268a98076a4397cb1d47c4713efc7
drm/amdgpu:fix the check in cs_ib_fill for SRIOV

1,the check is only appliable for SRIOV GFX engine.
2,use chunk_ib instead of ib.

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