drm/amd/display: Calc vline position in dc.
authorYongqiang Sun <yongqiang.sun@amd.com>
Thu, 24 Jan 2019 20:59:22 +0000 (15:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 18:29:56 +0000 (13:29 -0500)
commit810ece19ee74c5705190ef18ccb292e7930a2377
tree0720c038bda1efb653d844b1ac37d75e7e23c72c
parent3f01f098a4e2ef30ef628497c43a3d568e720376
drm/amd/display: Calc vline position in dc.

We need to calcualte vline position in DC for DCN.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_stream.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h