]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: disable FPO and SubVP for older DMUB versions on DCN32x
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Fri, 15 Dec 2023 15:37:39 +0000 (10:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2023 19:47:23 +0000 (14:47 -0500)
commit65550a9cc5c371b4027c8e8199293899cb2f5af7
tree3e8731b119265145aac6b104ef4380759d1129c7
parent4e08378b2dc1fbe64c9e1730f3260672b22fac03
drm/amd/display: disable FPO and SubVP for older DMUB versions on DCN32x

There have recently been changes that break backwards compatibility,
that were introduced into DMUB firmware (for DCN32x) concerning FPO and
SubVP. So, since those are just power optimization features, we can just
disable them unless the user is using a new enough version of DMUB
firmware.

Cc: stable@vger.kernel.org
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2870
Fixes: ed6e2782e974 ("drm/amd/display: For cursor P-State allow for SubVP")
Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Closes: https://lore.kernel.org/r/CABXGCsNRb0QbF2pKLJMDhVOKxyGD6-E+8p-4QO6FOWa6zp22_A@mail.gmail.com/
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c