]> asedeno.scripts.mit.edu Git - linux.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)
commited9324afc0ec1ebe5dcef632eee6381f6ebf8fd5
treec1f0a2d52c8963415cb20f41d9659a6d9f20ed5c
parent113890ee99575a5340ab8729b207e48aaac2eb06
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