OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jul 2021 17:39:25 +0000 (13:39 -0400)
commit23e55639b87fb16a9f0f66032ecb57060df6c46c
tree1f83f4b08aca5aa558efe00a9754b527bab7810c
parent71e433ee91dc8473277053b92a980ed555bd0770
drm/amd/display: Fix timer_per_pixel unit error

[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>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c