/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 1387 struct dc_transfer_func_distributed_points *tf_pts) in apply_lut_1d() 1411 regamma_y = &tf_pts->red[i]; in apply_lut_1d() 1413 regamma_y = &tf_pts->green[i]; in apply_lut_1d() 1415 regamma_y = &tf_pts->blue[i]; in apply_lut_1d() 1529 struct dc_transfer_func_distributed_points *tf_pts) in calculate_interpolated_hardware_curve() 1550 tf_pts->red[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1552 tf_pts->green[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1554 tf_pts->blue[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1586 struct dc_transfer_func_distributed_points *tf_pts) in interpolate_user_regamma() 1607 tf_pts in interpolate_user_regamma() 1384 apply_lut_1d( const struct dc_gamma *ramp, uint32_t num_hw_points, struct dc_transfer_func_distributed_points *tf_pts) apply_lut_1d() argument 1522 calculate_interpolated_hardware_curve( const struct dc_gamma *ramp, struct pixel_gamma_point *coeff128, struct pwl_float_data *rgb_user, const struct hw_x_point *coordinates_x, const struct gamma_pixel *axis_x, uint32_t number_of_points, struct dc_transfer_func_distributed_points *tf_pts) calculate_interpolated_hardware_curve() argument 1583 interpolate_user_regamma(uint32_t hw_points_num, struct pwl_float_data *rgb_user, bool apply_degamma, struct dc_transfer_func_distributed_points *tf_pts) interpolate_user_regamma() argument 1664 build_new_custom_resulted_curve( uint32_t hw_points_num, struct dc_transfer_func_distributed_points *tf_pts) build_new_custom_resulted_curve() argument 1708 map_regamma_hw_to_x_user( const struct dc_gamma *ramp, struct pixel_gamma_point *coeff128, struct pwl_float_data *rgb_user, struct hw_x_point *coords_x, const struct gamma_pixel *axis_x, const struct pwl_float_data_ex *rgb_regamma, uint32_t hw_points_num, struct dc_transfer_func_distributed_points *tf_pts, bool map_user_ramp, bool do_clamping) map_regamma_hw_to_x_user() argument 1815 struct dc_transfer_func_distributed_points *tf_pts = &output_tf->tf_pts; calculate_user_regamma_ramp() local 1879 struct dc_transfer_func_distributed_points *tf_pts = &input_tf->tf_pts; mod_color_calculate_degamma_params() local 2120 struct dc_transfer_func_distributed_points *tf_pts = &output_tf->tf_pts; mod_color_calculate_regamma_params() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 1325 struct dc_transfer_func_distributed_points *tf_pts) in apply_lut_1d() 1347 regamma_y = &tf_pts->red[i]; in apply_lut_1d() 1349 regamma_y = &tf_pts->green[i]; in apply_lut_1d() 1351 regamma_y = &tf_pts->blue[i]; in apply_lut_1d() 1454 struct dc_transfer_func_distributed_points *tf_pts) in calculate_interpolated_hardware_curve() 1475 tf_pts->red[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1477 tf_pts->green[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1479 tf_pts->blue[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1511 struct dc_transfer_func_distributed_points *tf_pts) in interpolate_user_regamma() 1532 tf_pts in interpolate_user_regamma() 1322 apply_lut_1d( const struct dc_gamma *ramp, uint32_t num_hw_points, struct dc_transfer_func_distributed_points *tf_pts) apply_lut_1d() argument 1447 calculate_interpolated_hardware_curve( const struct dc_gamma *ramp, struct pixel_gamma_point *coeff128, struct pwl_float_data *rgb_user, const struct hw_x_point *coordinates_x, const struct gamma_pixel *axis_x, uint32_t number_of_points, struct dc_transfer_func_distributed_points *tf_pts) calculate_interpolated_hardware_curve() argument 1508 interpolate_user_regamma(uint32_t hw_points_num, struct pwl_float_data *rgb_user, bool apply_degamma, struct dc_transfer_func_distributed_points *tf_pts) interpolate_user_regamma() argument 1589 build_new_custom_resulted_curve( uint32_t hw_points_num, struct dc_transfer_func_distributed_points *tf_pts) build_new_custom_resulted_curve() argument 1635 map_regamma_hw_to_x_user( const struct dc_gamma *ramp, struct pixel_gamma_point *coeff128, struct pwl_float_data *rgb_user, struct hw_x_point *coords_x, const struct gamma_pixel *axis_x, const struct pwl_float_data_ex *rgb_regamma, uint32_t hw_points_num, struct dc_transfer_func_distributed_points *tf_pts, bool mapUserRamp) map_regamma_hw_to_x_user() argument 1734 struct dc_transfer_func_distributed_points *tf_pts = &output_tf->tf_pts; calculate_user_regamma_ramp() local 1795 struct dc_transfer_func_distributed_points *tf_pts = &input_tf->tf_pts; mod_color_calculate_degamma_params() local 2033 struct dc_transfer_func_distributed_points *tf_pts = &output_tf->tf_pts; mod_color_calculate_regamma_params() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_cm_common.c | 382 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_hw_format() 383 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_hw_format() 384 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_hw_format() 391 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format() 392 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format() 393 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format() 558 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_degamma_hw_format() 559 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_degamma_hw_format() 560 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_degamma_hw_format() 567 rgb_resulted[hw_points - 1].red = output_tf->tf_pts in cm_helper_translate_curve_to_degamma_hw_format() [all...] |
H A D | dcn10_hw_sequencer.c | 1655 DC_LOG_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf() 1656 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf() 1657 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf() 1661 DC_LOG_ALL_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf() 1662 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf() 1663 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_cm_common.c | 181 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_hw_format() 182 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_hw_format() 183 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format() 190 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format() 191 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format() 192 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format() 358 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_degamma_hw_format() 359 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_degamma_hw_format() 360 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_degamma_hw_format() 367 rgb_resulted[hw_points - 1].red = output_tf->tf_pts in cm3_helper_translate_curve_to_degamma_hw_format() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_cm_common.c | 385 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_hw_format() 386 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_hw_format() 387 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_hw_format() 394 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format() 395 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format() 396 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format() 569 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_degamma_hw_format() 570 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_degamma_hw_format() 571 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_degamma_hw_format() 578 rgb_resulted[hw_points - 1].red = output_tf->tf_pts in cm_helper_translate_curve_to_degamma_hw_format() [all...] |
H A D | dcn10_hw_sequencer.c | 1818 DC_LOG_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf() 1819 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf() 1820 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf() 1824 DC_LOG_ALL_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf() 1825 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf() 1826 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_cm_common.c | 181 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_hw_format() 182 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_hw_format() 183 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format() 190 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format() 191 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format() 192 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format() 358 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_degamma_hw_format() 359 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_degamma_hw_format() 360 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_degamma_hw_format() 367 rgb_resulted[hw_points - 1].red = output_tf->tf_pts in cm3_helper_translate_curve_to_degamma_hw_format() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 509 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in dce110_translate_regamma_to_hw_format() 510 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in dce110_translate_regamma_to_hw_format() 511 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in dce110_translate_regamma_to_hw_format() 518 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format() 519 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format() 520 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 511 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in dce110_translate_regamma_to_hw_format() 512 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in dce110_translate_regamma_to_hw_format() 513 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in dce110_translate_regamma_to_hw_format() 520 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format() 521 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format() 522 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 2143 memcpy(&surface->in_transfer_func->tf_pts, in copy_surface_update_to_plane() 2144 &srf_update->in_transfer_func->tf_pts, in copy_surface_update_to_plane() 2206 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream() 2207 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 752 struct dc_transfer_func_distributed_points tf_pts; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 2815 memcpy(&surface->in_transfer_func->tf_pts, in copy_surface_update_to_plane() 2816 &srf_update->in_transfer_func->tf_pts, in copy_surface_update_to_plane() 2878 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream() 2879 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 1119 struct dc_transfer_func_distributed_points tf_pts; member
|