Commit c9b1d329 authored by Lijo Lazar's avatar Lijo Lazar Committed by sanglipeng
Browse files

drm/amd/pm: Read BIF STRAP also for BACO check

stable inclusion
from stable-v5.10.156
commit b0faeff69a0a6829642b7d3bf06bcc103f8aae39
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7MCG1

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b0faeff69a0a6829642b7d3bf06bcc103f8aae39



--------------------------------

[ Upstream commit 458020dd ]

Avoid reading BIF STRAP each time for BACO capability. Read the STRAP
value while checking BACO capability in PPTable.

Signed-off-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 0c85c067 ("drm/amdgpu: disable BACO on special BEIGE_GOBY card")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent b530c1b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment