]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/amd/display: Fix time out on boot
authorEric Yang <Eric.Yang2@amd.com>
Mon, 28 Aug 2017 20:50:17 +0000 (16:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:17:17 +0000 (18:17 -0400)
commitc9bb686b597d30935d6e05aaade51fc765d1ca5b
treec53ff065907e674c2848ec2e75ab711c69458cff
parentab8db3e1653c50ae19d1c31d82f94beb5115aeef
drm/amd/display: Fix time out on boot

On boot, hubp 0 is powergated during enable accel mode, so we time out
when we try to blank in undo wa.

Fix: Check power gate status before set blank

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c