aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
diff options
context:
space:
mode:
authorAric Cyr <[email protected]>2021-06-21 16:01:45 +0000
committerAlex Deucher <[email protected]>2021-07-08 19:16:44 +0000
commitbabbdf5b3a8b7c4f5e169a7a3300d2a743c10ac6 (patch)
tree4cd9978ba35f8ecf5c430b40084160a4831ed3f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
parentdrm/amd/display: 3.2.142 (diff)
downloadkernel-babbdf5b3a8b7c4f5e169a7a3300d2a743c10ac6.tar.gz
kernel-babbdf5b3a8b7c4f5e169a7a3300d2a743c10ac6.zip
drm/amd/display: Round KHz up when calculating clock requests
[Why] When requesting clocks from SMU which takes MHz inputs, DC will round down KHz when converting to MHz, thus potentially requesting too low a clock value. [How] Round up (ceil) when converting KHz to MHz for clock requests to SMU. Signed-off-by: Aric Cyr <[email protected]> Reviewed-by: Dmytro Laktyushkin <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c')
0 files changed, 0 insertions, 0 deletions