OSDN Git Service

drm/amd/display: Change DCN2 vupdate start programming
authorEryk Brol <eryk.brol@amd.com>
Mon, 15 Apr 2019 20:09:01 +0000 (16:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:11 +0000 (09:34 -0500)
commit7fad39ca4a1cd721864a3b7da19b2489e73dbf42
treedafb6f0e765ad2e144e373f988c22cbc23fd4ba3
parent78b674573a552f046322d70b943349c133241e04
drm/amd/display: Change DCN2 vupdate start programming

[Why]
In order to ensure that incoming flips are latched and
complete immediately, we need to program the vupdate
interrupt to come during the back porch of each frame.

[How]
Program the vupdate start_line to be in the back porch
like it's done for DCN1.

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c