diff options
| author | Monk Liu <Monk.Liu@amd.com> | 2020-02-20 06:05:36 +0300 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-03-05 08:28:11 +0300 | 
| commit | 752c683dbb65592e115886b252714ff41770df32 (patch) | |
| tree | 88ce7350647d001c787e1abe38f341180cc7a806 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | f091c1c70e89adca93c4f4f35dfa0abf90611453 (diff) | |
| download | linux-752c683dbb65592e115886b252714ff41770df32.tar.xz | |
drm/amdgpu: fix IB test MCBP bug
1)for gfx IB test we shouldn't insert DE meta data
2)we should make sure IB test finished before we
send event 3 to hypervisor otherwise the IDLE from
event 3 will preempt IB test, which is not designed
as a compatible structure for MCBP
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 3 | 
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 6a1b62bc3dcf..9f78725fc4b8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -88,9 +88,6 @@ void amdgpu_driver_unload_kms(struct drm_device *dev)  	if (adev->rmmio == NULL)  		goto done_free; -	if (amdgpu_sriov_vf(adev)) -		amdgpu_virt_request_full_gpu(adev, false); -  	if (adev->runpm) {  		pm_runtime_get_sync(dev->dev);  		pm_runtime_forbid(dev->dev);  | 
