]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Allow PSTATE chnage when no displays are enabled
authorAric Cyr <aric.cyr@amd.com>
Thu, 29 Oct 2020 21:45:19 +0000 (17:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:21 +0000 (16:38 -0500)
commitde3eaf28d76bbab54da343a7d4f5459bab87d3a4
tree8604a5001bcb22c6057c9d62429682b94be821fb
parentaeaac625c8c99df0a52a94a332443848ea2d642c
drm/amd/display: Allow PSTATE chnage when no displays are enabled

[Why]
When no displays are currently enabled, display driver should not
disallow PSTATE switching.

[How]
Allow PSTATE switching if either the active configuration supports it,
or there are no active displays.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <anson.jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c