Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c313 struct pwl_params *lut_params, bool fixpoint) in cm_helper_translate_curve_to_hw_format() argument
325 if (output_tf == NULL || lut_params == NULL || output_tf->type == TF_TYPE_BYPASS) in cm_helper_translate_curve_to_hw_format()
328 corner_points = lut_params->corner_points; in cm_helper_translate_curve_to_hw_format()
329 rgb_resulted = lut_params->rgb_resulted; in cm_helper_translate_curve_to_hw_format()
332 memset(lut_params, 0, sizeof(struct pwl_params)); in cm_helper_translate_curve_to_hw_format()
449 lut_params->hw_points_num = hw_points; in cm_helper_translate_curve_to_hw_format()
454 lut_params->arr_curve_points[k].segments_num = in cm_helper_translate_curve_to_hw_format()
456 lut_params->arr_curve_points[i].offset = in cm_helper_translate_curve_to_hw_format()
457 lut_params->arr_curve_points[k].offset + (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format()
463 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm_helper_translate_curve_to_hw_format()
[all …]
Ddcn10_cm_common.h110 struct pwl_params *lut_params, bool fixpoint);
114 struct pwl_params *lut_params);
/linux-6.1.9/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
123 if (output_tf == NULL || lut_params == NULL || output_tf->type == TF_TYPE_BYPASS) in cm3_helper_translate_curve_to_hw_format()
126 corner_points = lut_params->corner_points; in cm3_helper_translate_curve_to_hw_format()
127 rgb_resulted = lut_params->rgb_resulted; in cm3_helper_translate_curve_to_hw_format()
130 memset(lut_params, 0, sizeof(struct pwl_params)); in cm3_helper_translate_curve_to_hw_format()
250 lut_params->hw_points_num = hw_points; in cm3_helper_translate_curve_to_hw_format()
255 lut_params->arr_curve_points[k].segments_num = in cm3_helper_translate_curve_to_hw_format()
257 lut_params->arr_curve_points[i].offset = in cm3_helper_translate_curve_to_hw_format()
258 lut_params->arr_curve_points[k].offset + (1 << seg_distr[k]); in cm3_helper_translate_curve_to_hw_format()
264 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm3_helper_translate_curve_to_hw_format()
[all …]
Ddcn30_cm_common.h64 struct pwl_params *lut_params, bool fixpoint);
68 struct pwl_params *lut_params);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c559 struct pwl_params *lut_params = NULL; in dcn32_set_mcm_luts() local
564 lut_params = &plane_state->blend_tf->pwl; in dcn32_set_mcm_luts()
569 lut_params = &dpp_base->regamma_params; in dcn32_set_mcm_luts()
572 result = mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
577 lut_params = &plane_state->in_shaper_func->pwl; in dcn32_set_mcm_luts()
584 lut_params = &dpp_base->shaper_params; in dcn32_set_mcm_luts()
588 result = mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h1373 __be32 lut_params; member