OSDN Git Service

drm/amd/display: Change to correct unit on audio rate
authorChris Park <Chris.Park@amd.com>
Tue, 22 Sep 2020 22:31:38 +0000 (18:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:13:47 +0000 (15:13 -0400)
commitdc3de51642add38e9dbdc6eb9f8286b3eee42fe0
tree68bd25673f3dc12922438e18d8f41043ede6e472
parent2f8be0e516803cc3fd87c1671247896571a5a8fb
drm/amd/display: Change to correct unit on audio rate

[Why]
Formula uses kHz in their formula while our driver operates with Hz.

[How]
Divide audio rate by 1000 on the initial variable that is entered into formula.

Signed-off-by: Chris Park <Chris.Park@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c