]> 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, 7 Mar 2018 21:28:32 +0000 (16:28 -0500)
commit7ee7409968e5933a18963c1cec99bb17f2870102
treefefe45a0d1266675bc5e7ab0727eaf05f61c94e7
parent1410da18e4b50a6ca2062916e8d9548609202c38
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