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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 06:59:07 +0000 (08:59 +0200)
commit95de3592f87e46df63119dd52b4a0e544e519c6b
treeb3f7862c1b7188ec440657c4b0da7038eb0332bb
parentbd80d11a516c78fb74d11e69c67082f36f8ef8e3
drm/amdgpu: don't enable baco on boco platforms in runpm

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c