drm/amd/display: Formula refactor for calculating DPP CLK DTO
authorSung Lee <sung.lee@amd.com>
Thu, 5 Dec 2019 16:58:20 +0000 (11:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:10 +0000 (16:09 -0500)
commit760ef473f2fccdf8ca9bc0773960e16d4ce6f3d2
tree347f99e5d1d20cf59f804232587487f105ee0c04
parent5479034576ec8b7166a66efe5de1d911feb43d4a
drm/amd/display: Formula refactor for calculating DPP CLK DTO

[Why]
Previous formula for calculating DPP CLK DTO was
hard to understand.

[How]
Replace with easier to understand formula that produces
same results.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.c