]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: Round calculated vtotal
authorRobin Chen <robin.chen@amd.com>
Fri, 23 Aug 2024 07:00:28 +0000 (15:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Sep 2024 20:15:06 +0000 (16:15 -0400)
commitc03fca619fc687338a3b6511fdbed94096abdf79
treee7953e4667a4cad12986b3b91864fc99077436d8
parent2778701b165eda674756537054d460fb4b0cf2e2
drm/amd/display: Round calculated vtotal

[WHY]
The calculated vtotal may has 1 line deviation. To get precisely
vtotal number, round the vtotal result.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Signed-off-by: Robin Chen <robin.chen@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c