drm/amd/display: Power-gate all DSCs at driver init time
authorNikola Cornij <nikola.cornij@amd.com>
Wed, 19 Jun 2019 18:30:52 +0000 (14:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:10 +0000 (14:18 -0500)
commit75c35000235f3662f2810e9a59b0c8eed045432e
treed0f8bc0170a553faf84d7854041a94e1fa22b26c
parent8fca3d94157bfd401801b18f0fa8f1d0c693f2d7
drm/amd/display: Power-gate all DSCs at driver init time

[why]
DSC should be powered-on only on as-needed basis, i.e. if the mode
requires it

[how]
Loop over all the DSCs at driver init time and power-gate each

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Nevenko Stupar <Nevenko.Stupar@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c