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.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()
228 lut_params->hw_points_num = hw_points + 1; in cm3_helper_translate_curve_to_hw_format()
233 lut_params->arr_curve_points[k].segments_num = in cm3_helper_translate_curve_to_hw_format()
235 lut_params->arr_curve_points[i].offset = in cm3_helper_translate_curve_to_hw_format()
236 lut_params->arr_curve_points[k].offset + (1 << seg_distr[k]); in cm3_helper_translate_curve_to_hw_format()
242 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.c481 const struct pwl_params *lut_params = NULL; in dcn32_set_mcm_luts() local
485 lut_params = &plane_state->blend_tf.pwl; in dcn32_set_mcm_luts()
492 lut_params = &dpp_base->regamma_params; in dcn32_set_mcm_luts()
494 mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn32_set_mcm_luts()
495 lut_params = NULL; in dcn32_set_mcm_luts()
499 lut_params = &plane_state->in_shaper_func.pwl; in dcn32_set_mcm_luts()
505 lut_params = &dpp_base->shaper_params; in dcn32_set_mcm_luts()
508 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.c592 const struct pwl_params *lut_params = NULL; in dcn401_set_mcm_luts() local
604 lut_params = &plane_state->blend_tf.pwl; in dcn401_set_mcm_luts()
608 lut_params = rval ? &dpp_base->regamma_params : NULL; in dcn401_set_mcm_luts()
610 result = mpc->funcs->program_1dlut(mpc, lut_params, mpcc_id); in dcn401_set_mcm_luts()
611 lut_params = NULL; in dcn401_set_mcm_luts()
615 lut_params = &plane_state->in_shaper_func.pwl; in dcn401_set_mcm_luts()
620 lut_params = rval ? &dpp_base->shaper_params : NULL; in dcn401_set_mcm_luts()
622 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