Home
last modified time | relevance | path

Searched refs:output_tf (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_cm_common.c335 const struct dc_transfer_func *output_tf, 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()
358 if (output_tf->tf == TRANSFER_FUNCTION_PQ || output_tf->tf == TRANSFER_FUNCTION_GAMMA22) { in cm_helper_translate_curve_to_hw_format()
405 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_hw_format()
406 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_hw_format()
407 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_hw_format()
414 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format()
415 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format()
416 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format()
454 if (output_tf->tf == TRANSFER_FUNCTION_PQ) { in cm_helper_translate_curve_to_hw_format()
[all …]
H A Ddcn10_cm_common.h110 const struct dc_transfer_func *output_tf,
114 const struct dc_transfer_func *output_tf,
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c109 const struct dc_transfer_func *output_tf, 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()
132 if (output_tf->tf == TRANSFER_FUNCTION_PQ || output_tf->tf == TRANSFER_FUNCTION_GAMMA22 || in cm3_helper_translate_curve_to_hw_format()
133 output_tf->tf == TRANSFER_FUNCTION_HLG) { in cm3_helper_translate_curve_to_hw_format()
177 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_hw_format()
178 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_hw_format()
179 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format()
186 rgb_resulted[hw_points].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format()
187 rgb_resulted[hw_points].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format()
188 rgb_resulted[hw_points].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format()
/linux/drivers/gpu/drm/amd/display/dc/dwb/dcn30/
H A Ddcn30_cm_common.h63 const struct dc_transfer_func *output_tf,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c433 dce110_translate_regamma_to_hw_format(const struct dc_transfer_func *output_tf, in dce110_translate_regamma_to_hw_format() argument
449 if (output_tf == NULL || regamma_params == NULL || output_tf->type == TF_TYPE_BYPASS) in dce110_translate_regamma_to_hw_format()
458 if (output_tf->tf == TRANSFER_FUNCTION_PQ) { in dce110_translate_regamma_to_hw_format()
510 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in dce110_translate_regamma_to_hw_format()
511 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in dce110_translate_regamma_to_hw_format()
512 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in dce110_translate_regamma_to_hw_format()
519 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format()
520 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format()
521 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
551 if (output_tf->tf == TRANSFER_FUNCTION_PQ) { in dce110_translate_regamma_to_hw_format()