Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A 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()
472 lut_params->hw_points_num = hw_points; in cm_helper_translate_curve_to_hw_format()
477 lut_params->arr_curve_points[k].segments_num = in cm_helper_translate_curve_to_hw_format()
479 lut_params->arr_curve_points[i].offset = in cm_helper_translate_curve_to_hw_format()
480 lut_params->arr_curve_points[k].offset + (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format()
486 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm_helper_translate_curve_to_hw_format()
[all …]
H A Ddcn10_cm_common.h111 struct pwl_params *lut_params, bool fixpoint);
115 struct pwl_params *lut_params);
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c113 struct pwl_params *lut_params, bool fixpoint) in cm3_helper_translate_curve_to_hw_format() argument
125 if (output_tf == NULL || lut_params == NULL || output_tf->type == TF_TYPE_BYPASS) in cm3_helper_translate_curve_to_hw_format()
128 corner_points = lut_params->corner_points; in cm3_helper_translate_curve_to_hw_format()
129 rgb_resulted = lut_params->rgb_resulted; in cm3_helper_translate_curve_to_hw_format()
132 memset(lut_params, 0, sizeof(struct pwl_params)); in cm3_helper_translate_curve_to_hw_format()
234 lut_params->hw_points_num = hw_points + 1; in cm3_helper_translate_curve_to_hw_format()
239 lut_params->arr_curve_points[k].segments_num = in cm3_helper_translate_curve_to_hw_format()
241 lut_params->arr_curve_points[i].offset = in cm3_helper_translate_curve_to_hw_format()
242 lut_params->arr_curve_points[k].offset + (1 << seg_distr[k]); in cm3_helper_translate_curve_to_hw_format()
248 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm3_helper_translate_curve_to_hw_format()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dwb/dcn30/
H A Ddcn30_cm_common.h64 struct pwl_params *lut_params, bool fixpoint);
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c490 const struct pwl_params *lut_params = NULL; in dcn32_set_mcm_luts() local
494 lut_params = &plane_state->blend_tf.pwl; in dcn32_set_mcm_luts()
502 lut_params = &dpp_base->regamma_params; in dcn32_set_mcm_luts()
504 mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
505 lut_params = NULL; in dcn32_set_mcm_luts()
509 lut_params = &plane_state->in_shaper_func.pwl; in dcn32_set_mcm_luts()
515 lut_params = rval ? &dpp_base->shaper_params : NULL; in dcn32_set_mcm_luts()
518 mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c622 const struct pwl_params *lut_params = NULL; in dcn401_set_mcm_luts() local
634 lut_params = &plane_state->blend_tf.pwl; in dcn401_set_mcm_luts()
639 lut_params = rval ? &dpp_base->regamma_params : NULL; in dcn401_set_mcm_luts()
641 result = mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn401_set_mcm_luts()
642 lut_params = NULL; in dcn401_set_mcm_luts()
646 lut_params = &plane_state->in_shaper_func.pwl; in dcn401_set_mcm_luts()
652 lut_params = rval ? &dpp_base->shaper_params : NULL; in dcn401_set_mcm_luts()
654 result &= mpc->funcs->program_shaper(mpc, lut_params, mpcc_id); in dcn401_set_mcm_luts()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_cpl.h1373 __be32 lut_params; member