drm/amd: fix gfx hang on renoir in IGT reload test
authorTianci.Yin <tianci.yin@amd.com>
Thu, 10 Mar 2022 13:12:49 +0000 (21:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:34:45 +0000 (14:34 -0400)
commit72a98763b473890e6605604bfcaf71fc212b4720
treecb1de7e4fd0d17b56723b5541adee1dc8e1f97d9
parent85ac2021fe3ace59cc0afd6edf005abad35625b0
drm/amd: fix gfx hang on renoir in IGT reload test

[why]
CP hangs in igt reloading test on renoir, more precisely, hangs on the
second time insmod.

[how]
mode2 reset can make it recover, and mode2 reset only effects gfx core,
dcn and the screen will not be impacted.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c