Home
last modified time | relevance | path

Searched refs:ocsc_mode (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c135 enum mpc_output_csc_mode ocsc_mode) in mpc2_set_output_csc() argument
141 if (ocsc_mode == MPC_OUTPUT_CSC_DISABLE) { in mpc2_set_output_csc()
142 REG_SET(CSC_MODE[opp_id], 0, MPC_OCSC_MODE, ocsc_mode); in mpc2_set_output_csc()
160 ocsc_mode = MPC_OUTPUT_CSC_COEF_A; in mpc2_set_output_csc()
162 ocsc_mode = MPC_OUTPUT_CSC_COEF_B; in mpc2_set_output_csc()
169 if (ocsc_mode == MPC_OUTPUT_CSC_COEF_A) { in mpc2_set_output_csc()
182 REG_SET(CSC_MODE[opp_id], 0, MPC_OCSC_MODE, ocsc_mode); in mpc2_set_output_csc()
189 enum mpc_output_csc_mode ocsc_mode) in mpc2_set_ocsc_default() argument
197 if (ocsc_mode == MPC_OUTPUT_CSC_DISABLE) { in mpc2_set_ocsc_default()
198 REG_SET(CSC_MODE[opp_id], 0, MPC_OCSC_MODE, ocsc_mode); in mpc2_set_ocsc_default()
[all …]
Ddcn20_mpc.h296 enum mpc_output_csc_mode ocsc_mode);
302 enum mpc_output_csc_mode ocsc_mode);
Ddcn20_hwseq.c828 enum mpc_output_csc_mode ocsc_mode = MPC_OUTPUT_CSC_COEF_A; in dcn20_program_output_csc() local
839 ocsc_mode); in dcn20_program_output_csc()
845 ocsc_mode); in dcn20_program_output_csc()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_hw_sequencer.c577 block_sequence[*num_steps].params.set_output_csc_params.ocsc_mode = MPC_OUTPUT_CSC_COEF_A; in hwss_build_fast_sequence()
584 block_sequence[*num_steps].params.set_ocsc_default_params.ocsc_mode = MPC_OUTPUT_CSC_COEF_A; in hwss_build_fast_sequence()
769 enum mpc_output_csc_mode ocsc_mode = params->set_output_csc_params.ocsc_mode; in hwss_set_output_csc() local
775 ocsc_mode); in hwss_set_output_csc()
783 enum mpc_output_csc_mode ocsc_mode = params->set_ocsc_default_params.ocsc_mode; in hwss_set_ocsc_default() local
789 ocsc_mode); in hwss_set_ocsc_default()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h372 enum mpc_output_csc_mode ocsc_mode);
377 enum mpc_output_csc_mode ocsc_mode);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_cm.c188 uint32_t ocsc_mode; in dpp1_cm_program_color_matrix() local
208 ocsc_mode = 4; in dpp1_cm_program_color_matrix()
210 ocsc_mode = 5; in dpp1_cm_program_color_matrix()
218 if (ocsc_mode == 4) { in dpp1_cm_program_color_matrix()
235 REG_SET(CM_OCSC_CONTROL, 0, CM_OCSC_MODE, ocsc_mode); in dpp1_cm_program_color_matrix()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_mpc.c1238 enum mpc_output_csc_mode ocsc_mode) in mpc3_set_output_csc() argument
1245 REG_SET(CSC_MODE[opp_id], 0, MPC_OCSC_MODE, ocsc_mode); in mpc3_set_output_csc()
1247 if (ocsc_mode == MPC_OUTPUT_CSC_DISABLE) in mpc3_set_output_csc()
1260 if (ocsc_mode == MPC_OUTPUT_CSC_COEF_A) { in mpc3_set_output_csc()
1277 enum mpc_output_csc_mode ocsc_mode) in mpc3_set_ocsc_default() argument
1286 REG_SET(CSC_MODE[opp_id], 0, MPC_OCSC_MODE, ocsc_mode); in mpc3_set_ocsc_default()
1287 if (ocsc_mode == MPC_OUTPUT_CSC_DISABLE) in mpc3_set_ocsc_default()
1303 if (ocsc_mode == MPC_OUTPUT_CSC_COEF_A) { in mpc3_set_ocsc_default()
Ddcn30_mpc.h1038 enum mpc_output_csc_mode ocsc_mode);
1044 enum mpc_output_csc_mode ocsc_mode);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer.h127 enum mpc_output_csc_mode ocsc_mode; member
134 enum mpc_output_csc_mode ocsc_mode; member