OSDN Git Service

drm/amd/display: remove legacy DSC functions
authorWenjing Liu <Wenjing.Liu@amd.com>
Sat, 23 Mar 2019 20:28:31 +0000 (16:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:09 +0000 (09:34 -0500)
commit390fdfbd2d6578dc54b234a801cfc8da05641eda
treeea9e2177e07e287d05a06279992ad4f908510306
parent2e2e73fc632d34b0cec612dc5df0ba64cc98df9a
drm/amd/display: remove legacy DSC functions

[why]
Clean up some dsc legacy functions that are
no longer needed.

[how]
remove two dsc functions in dc_dsc, use dc_bandwidth_in_kbps_from_timing
instead of calc_required_bandwidth_for_timing.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Leo Li <sunpeng.li@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