OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 16:53:21 +0000 (11:53 -0500)
commit2641c7b7808191cba25ba28b82bb73ca294924cc
tree224f8f7c118959c73e1e75fa9c703d56df26d738
parente4c1b01bc35b04e15782608165aa85b9e1724f7b
drm/amd/display: use low clocks for no plane configs

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>
drivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c