]> git.itanic.dy.fi Git - linux-stable/commit
drm/amd/display: Fix Z8 support configurations
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 16 Jan 2023 14:49:32 +0000 (09:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:53:54 +0000 (11:53 +0200)
commit97b3d8eed09785212900e9ccdc9ff1e0a86fef15
treeb975eae5dae73e876406dcd451a0a7852813188f
parent18225134088453e386b7aade107b3026d7aca76d
drm/amd/display: Fix Z8 support configurations

[ Upstream commit 73dd4ca4b5a01235607231839bd351bbef75a1d2 ]

[Why]
It's not supported in multi-display, but it is supported in 2nd eDP
screen only.

[How]
Remove multi display support, restrict number of planes for all
z-states support, but still allow Z8 if we're not using PWRSEQ0.

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: d893f39320e1 ("drm/amd/display: Lowering min Z8 residency time")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c