drm/amd/display/dc: Refactor remove duplicationsAll dce command_table_helper's shares a copy-pasted collectionof copy-pasted functions, which are: phy_id_to_atom,clock_source_id_to_atom_phy_clk_s
drm/amd/display/dc: Refactor remove duplicationsAll dce command_table_helper's shares a copy-pasted collectionof copy-pasted functions, which are: phy_id_to_atom,clock_source_id_to_atom_phy_clk_src_id, and engine_bp_to_atom.This patch removes the multiple copy-pasted by moving them tothe command_table_helper.c and make the command_table_helper'scalls the functions implemented by the command_table_helper.cinstead.The changes were not tested on actual hardware. I am only ableto verify that the changes keep the code compileable and do mybest to to look repeatedly if I am not actually changing any code.This is the version 4 of the PATCH, fixed comments aboutlicence in the new files and the matches From email toSigned-off-by email. Fixed comments about usingcommand_table_helper instead of creating a dce_commonSigned-off-by: Luan Icaro Pinto Arcanjo <luanicaro@usp.br>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
drm/amd/display: dc/bios: add support for DCE6[Why]command_table_helper.c requires changes for DCE6 support[How]DCE6 targets added replicating and adapting the existing DCE8 implementation.Re
drm/amd/display: dc/bios: add support for DCE6[Why]command_table_helper.c requires changes for DCE6 support[How]DCE6 targets added replicating and adapting the existing DCE8 implementation.Reviewed-by: Alex Deucher <alexander.deucher@amd.com>Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>