OSDN Git Service

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)
commitdad6bd779a6f3a5d3d103fcafac8c6a659c77943
treef165fa264bafaa0ad2bd54375a44e2dfa1c3d30e
parent5dac2b7399d73c3fbdf246977194c1dffa8be402
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