]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Round up DST_after_scaler to nearest int
authorGeorge Shen <george.shen@amd.com>
Fri, 14 Oct 2022 21:40:08 +0000 (17:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Nov 2022 08:27:21 +0000 (09:27 +0100)
commitba3ff4fe5dc4f1eaefbf9ff9379fb8a2012acb1c
treefad076320e312938f79a1a0de69e6288ae74a694
parent13eac434b2dadbea6e284d1da94ac11652762327
drm/amd/display: Round up DST_after_scaler to nearest int

[ Upstream commit 8dc323133d74518e3b5b07242e2b2f088799ea6e ]

[Why]
The DST_after_scaler value that DML spreadsheet outputs is
generally the driver value round up to the nearest int.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c