drm/amdgpu: add invalidate semaphore limit for SRIOV and picasso in gmc9
authorchangzhu <Changfeng.Zhu@amd.com>
Tue, 10 Dec 2019 14:00:59 +0000 (22:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Dec 2019 21:13:24 +0000 (16:13 -0500)
commit90f6452ca58d436de4f69b423ecd75a109aa9766
treeab5ba6eaba5874363934167c345fb994e88cd90e
parent413fc385a594ea6eb08843be33939057ddfdae76
drm/amdgpu: add invalidate semaphore limit for SRIOV and picasso in gmc9

It may fail to load guest driver in round 2 or cause Xstart problem
when using invalidate semaphore for SRIOV or picasso. So it needs avoid
using invalidate semaphore for SRIOV and picasso.

Signed-off-by: changzhu <Changfeng.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c