linux/drivers/gpu/drm/amd/pm
Guchun Chen dd574ff7a7 drm/amd/pm/smu11: BACO is supported when it's in BACO state
[ Upstream commit 6dca7efe6e ]

Return true early if ASIC is in BACO state already, no need
to talk to SMU. It can fix the issue that driver was not
calling BACO exit at all in runtime pm resume, and a timing
issue leading to a PCI AER error happened eventually.

Fixes: 8795e182b0 ("PCI/portdrv: Don't disable AER reporting in get_port_device_capability()")
Suggested-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:19 +01:00
..
inc drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00
legacy-dpm drivers/amd/pm: check the return value of amdgpu_bo_kmap 2022-10-06 11:57:29 -04:00
powerplay amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table() 2022-12-31 13:32:11 +01:00
swsmu drm/amd/pm/smu11: BACO is supported when it's in BACO state 2022-12-31 13:32:19 +01:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00
amdgpu_pm.c drm/amd/pm: Init pm_attr_list when dpm is disabled 2022-10-18 22:12:36 -04:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00