drm/amd/display: Add driver support for enabling PSR on DMCUB
authorWyatt Wood <wyatt.wood@amd.com>
Tue, 18 Feb 2020 20:55:51 +0000 (15:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:28:58 +0000 (00:28 -0500)
commite625c1eae2d3415ed42662e09da7b51463d53d33
tree504f84349a08ee51bd83d5f7a2a28509842c1b07
parenta09f8e295cec98ef959d85f995018c3c65cb3a54
drm/amd/display: Add driver support for enabling PSR on DMCUB

[Why]
We want to be able to enable PSR on DMCUB, and fallback to
DMCU when necessary.

[How]
Move psr_on_dmub flag from dc_debug_options to dc_config.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c