drm/amd/display: Fix takover from VGA mode
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 27 Feb 2018 17:12:46 +0000 (12:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:28:32 +0000 (16:28 -0500)
commitbd9bc355be45dd2295ca746aa05b058be4cf94cc
treefefe45a0d1266675bc5e7ab0727eaf05f61c94e7
parent9fe8f03bc0227fb573cc3e5b99eb34e19e405ab6
drm/amd/display: Fix takover from VGA mode

HW Engineer's Notes:
 During switch from vga->extended, if we set the VGA_TEST_ENABLE and then
 hit the VGA_TEST_RENDER_START, then the DCHUBP timing gets updated correctly.
 Then vBIOS will have it poll for the VGA_TEST_RENDER_DONE and unset
 VGA_TEST_ENABLE, to leave it in the same state as before.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dce/dce_hwseq.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c