Searched refs:ocsc_mode (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_mpc.c | 135 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 …]
|
D | dcn20_mpc.h | 296 enum mpc_output_csc_mode ocsc_mode); 302 enum mpc_output_csc_mode ocsc_mode);
|
D | dcn20_hwseq.c | 828 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-v6.6/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_hw_sequencer.c | 577 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-v6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mpc.h | 372 enum mpc_output_csc_mode ocsc_mode); 377 enum mpc_output_csc_mode ocsc_mode);
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_cm.c | 188 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-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_mpc.c | 1238 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()
|
D | dcn30_mpc.h | 1038 enum mpc_output_csc_mode ocsc_mode); 1044 enum mpc_output_csc_mode ocsc_mode);
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/ |
D | hw_sequencer.h | 127 enum mpc_output_csc_mode ocsc_mode; member 134 enum mpc_output_csc_mode ocsc_mode; member
|