drm/amd/display: use low clocks for no plane configs
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Fri, 7 Oct 2022 15:01:08 +0000 (11:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:23:52 +0000 (10:23 +0200)
commitacba20a5b2c80385110efdcec00dcefd041b120f
treed8602d0211cd9dd256503c610991f3debee67550
parent8d515d39d8005981479a93fd6bee2649c59f0b1b
drm/amd/display: use low clocks for no plane configs

[ Upstream commit 2641c7b7808191cba25ba28b82bb73ca294924cc ]

Stream only configurations do not require DCFCLK, SOCCLK, DPPCLK
or FCLK. They also always allow pstate change.

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 49f26218c344 ("drm/amd/display: fix dcn315 single stream crb allocation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c