aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
diff options
context:
space:
mode:
authorSung Lee <[email protected]>2020-03-30 21:16:23 +0000
committerAlex Deucher <[email protected]>2020-04-22 22:11:47 +0000
commit0b1f04d8876bd1397d3c2c837c3ea4cc77773698 (patch)
tree5707c5f743948241e0cba0b68cb7cac7103fb536 /drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
parentdrm/amd/display: Set meta_chunk_value to 0 in DML if DCC disabled in DCN2.1 (diff)
downloadkernel-0b1f04d8876bd1397d3c2c837c3ea4cc77773698.tar.gz
kernel-0b1f04d8876bd1397d3c2c837c3ea4cc77773698.zip
drm/amd/display: Cast int to float before division
[Why]: Some inputs to dml_ceil have it dividied by int which causes a truncation. This loss of precision means the ceil function becomes redundant and does not round up. [How]: Cast parameter to float before division. Signed-off-by: Sung Lee <[email protected]> Reviewed-by: Dmytro Laktyushkin <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_shared.h')
0 files changed, 0 insertions, 0 deletions