drm/amd/display: Set power_gated to true for seamless boot pipe init
authorLewis Huang <Lewis.Huang@amd.com>
Wed, 13 Jan 2021 10:00:50 +0000 (18:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:09:02 +0000 (12:09 -0500)
commitaccff74e8fbff8d5eedb19f6eccf04b318cf6174
tree0c19c7f752b48b2f967152486ec6430fe56c8c2e
parentfa2a3786c4bc1e3495ec81f3b246df6473c19b6c
drm/amd/display: Set power_gated to true for seamless boot pipe init

[Why]
In seamless boot without a flip case, the flag power_gated didn't
get cleared when resetting path mode because the plane_state is null.
The following sequence will cause this issue:
    1. OS call set mode to clone/extended
    2. Reset path mode to remove edp

[How]
Set power gated default to true in seamless boot pipe

Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c