OSDN Git Service

drm/amd/display: make seamless boot work generically
authorAnthony Koo <Anthony.Koo@amd.com>
Wed, 30 Jan 2019 21:14:38 +0000 (16:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Mar 2019 20:09:32 +0000 (15:09 -0500)
commit522f82f35fd0057cae326ad21a5f93a221b08b25
tree3f828fceff6bb4103e631cb7610006b00d6a4ea3
parenta4360180bf0e5441739c915d95582cc3a89de283
drm/amd/display: make seamless boot work generically

[Why]
Seamless boot code not working on all ASICs because of
some underflow issues caused by some uninitialized HW
state.

[How]
Keep some logical and power gating init code in hw_init.
Move some per pipe init code to enable accelerated mode

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c