drm/amd/pm: disable cstate feature for gpu reset scenario
authorEvan Quan <evan.quan@amd.com>
Thu, 29 Sep 2022 02:50:44 +0000 (10:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Oct 2022 02:12:20 +0000 (22:12 -0400)
commit3059cd8c5f797ad83d2b194ae66339f5c007ca43
tree6dab338e93e4da9cdecf3f1b44e1fda12da6c7d6
parentba2f09960e75accf757ed12b4ef61409dcc97df8
drm/amd/pm: disable cstate feature for gpu reset scenario

Suggested by PMFW team and same as what did for gfxoff feature.
This can address some Mode1Reset failures observed on SMU13.0.0.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0.x
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c