OSDN Git Service

drm/amd/display: move bpp range decision in decide dsc bw range function
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 9 Aug 2021 21:00:12 +0000 (17:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 19:57:09 +0000 (15:57 -0400)
commite0d09634acbbd0e217876e51d1a4d2d2a9397bc2
tree12511ef70e95a73fd8f3fa2d66a7b686195128c1
parent952ab0b302396bd6cba0859c585208882389807d
drm/amd/display: move bpp range decision in decide dsc bw range function

[why]
Before get dsc bw range is used to compute DSC bw range
based on the given fixed bpp min/max input.
The new change will merge any specs, signal, timing specific
bpp range decision into this function. So the function needs to make
a decision with all aspects considered.

Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dsc.h
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c