]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: change gfx9 ib test to use WB
authorMonk Liu <Monk.Liu@amd.com>
Tue, 23 Jan 2018 10:29:22 +0000 (18:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 19:18:04 +0000 (14:18 -0500)
commit877466342529eb6b35520d84baae631afa541aeb
treec1f0a2d52c8963415cb20f41d9659a6d9f20ed5c
parentaa0b76bfc903bfb4a788a16f8444b424590a6b9d
drm/amdgpu: change gfx9 ib test to use WB

two reasons to switch SCRATCH reg method to WB method:

1)Because when doing IB test we don't want to involve KIQ health
status affect, and since SCRATCH register access is go through
KIQ that way GFX IB test would failed due to KIQ fail.

2)acccessing SCRATCH register cost much more time than WB method
because SCRATCH register access runs through KIQ which at least could
begin after GPU world switch back to current Guest VF

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-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