]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: do not enable asic reset for raven2
authorChen Gong <curry.gong@amd.com>
Thu, 17 Feb 2022 07:29:41 +0000 (15:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 21:31:06 +0000 (16:31 -0500)
commit108997f511803bcafae55d4b0c5f45086dd501b3
treeb98ccc5d2df73d7400c415aa52dd383358b57ddf
parentd4f55cf8f72a24c125f5d648db9f9570d863b2c4
drm/amdgpu: do not enable asic reset for raven2

The GPU reset function of raven2 is not maintained or tested, so it should be
very unstable.

Now the amdgpu_asic_reset function is added to amdgpu_pmops_suspend, which
causes the S3 test of raven2 to fail, so the asic_reset of raven2 is ignored
here.

Fixes: b890ad00836d61 ("drm/amdgpu: always reset the asic in suspend (v2)")
Signed-off-by: Chen Gong <curry.gong@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/soc15.c