]> 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>
Thu, 21 Jan 2021 15:46:05 +0000 (10:46 -0500)
commit0613e0f6d38211d5644c59232a876e63eefded0e
tree46dff5600952928318504af3ac25a47d1561c5da
parent7b30907cf8ddb92e9dfe783301280fe480b7cda3
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