Re: [PATCH v4] drm/amd/display/dc: Refactor remove duplications

2025-02-25 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Feb 24, 2025 at 8:55 PM Luan Icaro Pinto Arcanjo wrote: > > From: Luan Arcanjo > > All dce command_table_helper's shares a copy-pasted collection > of copy-pasted functions, which are: phy_id_to_atom, > clock_source_id_to_atom_phy_clk_src_id, and engine_bp_to_atom

[PATCH v4] drm/amd/display/dc: Refactor remove duplications

2025-02-24 Thread Luan Icaro Pinto Arcanjo
From: Luan Arcanjo All dce command_table_helper's shares a copy-pasted collection of 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 to the command_table_helper.c and make