]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Increase precision for bpp in DSC calculations
authorJun Lei <jun.lei@amd.com>
Wed, 16 Dec 2020 17:56:38 +0000 (12:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:32:27 +0000 (23:32 -0400)
commite72b6472bb4d4e9d2a87d4d0ac82c3b8fd250edc
tree20ba7e2020444f93b034a6facc8510e049fa9596
parent7e97873e164ed28f54c2f20c229fb673b270f0b0
drm/amd/display: Increase precision for bpp in DSC calculations

[Why?]
Many DSC variables and related functions use whole bits for bpp.

[How?]
Change variables and related functions to use 16ths of a bit for bpp.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Jun Lei <jun.lei@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_hw_types.h