]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ab8e3974f24a391c29ed963fe10b0ac6f5984f1
tree1f83f4b08aca5aa558efe00a9754b527bab7810c
parent22355b031ebadc38fce8c4b16ecf42542102d8f8
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