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)
commit86ca3cbe5c9ca8e7d47424c98fc7b49b34b67d96
tree20ba7e2020444f93b034a6facc8510e049fa9596
parentb0942618fd12aa59e7ebee700a5242f02f9e55f9
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