Home
last modified time | relevance | path

Searched refs:lut_params (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c110 struct pwl_params *lut_params, bool fixpoint) in cm3_helper_translate_curve_to_hw_format() argument
122 if (output_tf == NULL || lut_params == NULL || output_tf->type == TF_TYPE_BYPASS) in cm3_helper_translate_curve_to_hw_format()
125 corner_points = lut_params->corner_points; in cm3_helper_translate_curve_to_hw_format()
126 rgb_resulted = lut_params->rgb_resulted; in cm3_helper_translate_curve_to_hw_format()
129 memset(lut_params, 0, sizeof(struct pwl_params)); in cm3_helper_translate_curve_to_hw_format()
233 lut_params->hw_points_num = hw_points + 1; in cm3_helper_translate_curve_to_hw_format()
238 lut_params->arr_curve_points[k].segments_num = in cm3_helper_translate_curve_to_hw_format()
240 lut_params->arr_curve_points[i].offset = in cm3_helper_translate_curve_to_hw_format()
241 lut_params->arr_curve_points[k].offset + (1 << seg_distr[k]); in cm3_helper_translate_curve_to_hw_format()
247 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm3_helper_translate_curve_to_hw_format()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c336 struct pwl_params *lut_params, bool fixpoint) in cm_helper_translate_curve_to_hw_format() argument
348 if (output_tf == NULL || lut_params == NULL || output_tf->type == TF_TYPE_BYPASS) in cm_helper_translate_curve_to_hw_format()
351 corner_points = lut_params->corner_points; in cm_helper_translate_curve_to_hw_format()
352 rgb_resulted = lut_params->rgb_resulted; in cm_helper_translate_curve_to_hw_format()
355 memset(lut_params, 0, sizeof(struct pwl_params)); in cm_helper_translate_curve_to_hw_format()
477 lut_params->hw_points_num = hw_points; in cm_helper_translate_curve_to_hw_format()
482 lut_params->arr_curve_points[k].segments_num = in cm_helper_translate_curve_to_hw_format()
484 lut_params->arr_curve_points[i].offset = in cm_helper_translate_curve_to_hw_format()
485 lut_params->arr_curve_points[k].offset + (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format()
491 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm_helper_translate_curve_to_hw_format()
[all …]
Ddcn10_cm_common.h111 struct pwl_params *lut_params, bool fixpoint);
115 struct pwl_params *lut_params);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dwb/dcn30/
Ddcn30_cm_common.h64 struct pwl_params *lut_params, bool fixpoint);
68 struct pwl_params *lut_params);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c480 const struct pwl_params *lut_params = NULL; in dcn32_set_mcm_luts() local
484 lut_params = &plane_state->blend_tf.pwl; in dcn32_set_mcm_luts()
491 lut_params = &dpp_base->regamma_params; in dcn32_set_mcm_luts()
493 mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
494 lut_params = NULL; in dcn32_set_mcm_luts()
498 lut_params = &plane_state->in_shaper_func.pwl; in dcn32_set_mcm_luts()
504 lut_params = &dpp_base->shaper_params; in dcn32_set_mcm_luts()
507 mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
Ddcn401_hwseq.c674 const struct pwl_params *lut_params = NULL; in dcn401_set_mcm_luts() local
681 lut_params = &plane_state->blend_tf.pwl; in dcn401_set_mcm_luts()
685 lut_params = rval ? &dpp_base->regamma_params : NULL; in dcn401_set_mcm_luts()
687 result = mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn401_set_mcm_luts()
688 lut_params = NULL; in dcn401_set_mcm_luts()
692 lut_params = &plane_state->in_shaper_func.pwl; in dcn401_set_mcm_luts()
697 lut_params = rval ? &dpp_base->shaper_params : NULL; in dcn401_set_mcm_luts()
699 result &= mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); in dcn401_set_mcm_luts()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h1373 __be32 lut_params; member