]> 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)
commit161fd08a790becd6fe384b3d3fa72ac99ea82028
treec1f0a2d52c8963415cb20f41d9659a6d9f20ed5c
parenta81570a39978eea6c3887add9f875296d77132d6
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