summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2022-11-22 17:33:24 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-11-29 11:03:35 -0500
commit6dca7efe6e522bf213c7dab691fa580d82f48f74 (patch)
tree81342db782bc59b4df3fc364c0bcfc286e5e44d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent6d96ced7600e02ac1efb03a21af529fd9a95e3c6 (diff)
downloadlinux-6dca7efe6e522bf213c7dab691fa580d82f48f74.tar.gz
linux-6dca7efe6e522bf213c7dab691fa580d82f48f74.tar.bz2
linux-6dca7efe6e522bf213c7dab691fa580d82f48f74.zip
drm/amd/pm/smu11: BACO is supported when it's in BACO state
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: 8795e182b02d ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions