]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu: don't enable baco on boco platforms in runpm
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Aug 2021 14:03:30 +0000 (10:03 -0400)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 24 Sep 2021 09:56:59 +0000 (11:56 +0200)
commit584a067e808f8817ee8a0ae4dbf05d6a319bfef4
treea3b880fba18f6d427c832ce20e54b4527a836aaf
parent0e23328f7374a89e396cc2d628e784db420ad6d9
drm/amdgpu: don't enable baco on boco platforms in runpm

BugLink: https://bugs.launchpad.net/bugs/1943756
commit 202ead5a3c589b0594a75cb99f080174f6851fed upstream.

If the platform uses BOCO, don't use BACO in runtime suspend.
We could end up executing the BACO path if the platform supports
both.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1669
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c