]> git.baikalelectronics.ru Git - kernel.git/commit
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, 14 Mar 2018 20:08:44 +0000 (15:08 -0500)
commita0620871e3daf8d9180f534e802bcc1c2787efdb
treed39662ca90129c10229d93b72420196bc6292ce0
parent15d5dc9b82b16850b78cbf3bc0361a0e6fb64bfa
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