]> 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)
commit64cb676dbb8612fa47a3c315c77595217740e3cf
tree1f83f4b08aca5aa558efe00a9754b527bab7810c
parent2bc1b1e3a8d9bc61b3c1104a14efe9788f707248
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