]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix call to pass bpp in 16ths of a bit
authorDillon Varone <dillon.varone@amd.com>
Fri, 9 Apr 2021 16:58:14 +0000 (12:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:42:20 +0000 (21:42 -0400)
commit0c3deb6fe4cf06de69e9dbb0b17625f26c6b570f
treef165fa264bafaa0ad2bd54375a44e2dfa1c3d30e
parenta477d80ec2e00f31010501527fceb5b150bd69df
drm/amd/display: Fix call to pass bpp in 16ths of a bit

[Why & How?]
Call to dc_dsc_compute_bandwidth_range should have min and max bpp
in 16ths of a bit.  Multiply min and max bpp from policy.

Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Eryk Brol <Eryk.Brol@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c