drm/amd/display: Correct timings in build scaling params
authorAndrew Jiang <Andrew.Jiang@amd.com>
Tue, 10 Oct 2017 18:36:39 +0000 (14:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:51:08 +0000 (16:51 -0400)
commit58bb0e63dd99c4bdb84e79a95311bb6899789681
tree58ebcc0b46fffdaec003ed58a4387ca2ff879067
parent9a5bcd47ea0eb40c8a9e00f6797453c90fbd74d1
drm/amd/display: Correct timings in build scaling params

A previous patch set the addressable timing as active + border,
when in fact, the VESA standard specifies active as equal to
addressable + border.

This patch makes the fix more correct and in line with the standard.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Andrew Jiang <Andrew.Jiang@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/core/dc_resource.c