drm/amd/display: Fallback to dmcub for psr when dmcu is disabled
authorWyatt Wood <wyatt.wood@amd.com>
Fri, 28 Feb 2020 15:45:39 +0000 (10:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:04 +0000 (00:03 -0400)
commit8defa1a3f7c6a7f4628396ec15f10950ef0ce790
tree4fc250bf933f8c8b5fa4314b067b35368a1b6fee
parentf0a574c9dfcbeb3d7f1be7cd07ff46192cedf1fb
drm/amd/display: Fallback to dmcub for psr when dmcu is disabled

[Why]
We want to be able to enable/disable psr on dmcub and fallback to dmcu
when necessary.

[How]
Use dc config option to do so.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@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/dcn21/dcn21_resource.c