drm/amd/display: Fix timer_per_pixel unit error
authorOliver Logush <oliver.logush@amd.com>
Wed, 23 Jun 2021 19:04:04 +0000 (15:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:20 +0000 (13:40 +0200)
commitf462a39eb8334b52e332cc0cbffb705660b7d87b
tree4d3e817cfb7119a34dc9b13ae68b8567ba7ed334
parentb4f5c9454dfcfee9393f547932eff81a2d9d50bc
drm/amd/display: Fix timer_per_pixel unit error

[ Upstream commit 23e55639b87fb16a9f0f66032ecb57060df6c46c ]

[why]
The units of the time_per_pixel variable were incorrect, this had to be
changed for the code to properly function.

[how]
The change was very straightforward, only required one line of code to
be changed where the calculation was done.

Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Oliver Logush <oliver.logush@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/dcn20/dcn20_resource.c