]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix IB test MCBP bug
authorMonk Liu <Monk.Liu@amd.com>
Thu, 20 Feb 2020 03:05:36 +0000 (11:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:28:11 +0000 (00:28 -0500)
commit07c8e2c7d2e4926c3bf231dbeb4dd0b950879fac
tree88ce7350647d001c787e1abe38f341180cc7a806
parente3e287b0e2227d10a6ca8b5756a599fee06c68cb
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c