]> 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 11:59:09 +0000 (13:59 +0200)
commitbf7369e9bfc0a6de53bbf8bcafbf90ccfade68d2
tree1c691b1d49ce0656d9e5ea60b4d147a37aad24a2
parent1106dca82f6552a51ececcd195dc033977f74350
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