Searched refs:hw_points (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 323 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_hw_format() local 330 hw_points = 0; in cm_helper_translate_curve_to_hw_format() 370 hw_points += (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format() 380 if (j == hw_points - 1) 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() 395 rgb_resulted[hw_points].red = rgb_resulted[hw_points - 1].red; in cm_helper_translate_curve_to_hw_format() 396 rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green; in cm_helper_translate_curve_to_hw_format() 397 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_hw_format() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_cm_common.c | 121 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm3_helper_translate_curve_to_hw_format() local 128 hw_points = 0; in cm3_helper_translate_curve_to_hw_format() 169 hw_points += (1 << seg_distr[k]); in cm3_helper_translate_curve_to_hw_format() 179 if (j == hw_points - 1) 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() 194 rgb_resulted[hw_points].red = rgb_resulted[hw_points - 1].red; in cm3_helper_translate_curve_to_hw_format() 195 rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green; in cm3_helper_translate_curve_to_hw_format() 196 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm3_helper_translate_curve_to_hw_format() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 453 uint32_t i, j, k, seg_distr[NUMBER_REGIONS], increment, start_index, hw_points; in dce110_translate_regamma_to_hw_format() local 460 hw_points = 0; in dce110_translate_regamma_to_hw_format() 504 hw_points += (1 << seg_distr[k]); in dce110_translate_regamma_to_hw_format() 514 if (j == hw_points - 1) in dce110_translate_regamma_to_hw_format() 525 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format() 526 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format() 527 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format() 544 y_r = rgb_resulted[hw_points - 1].red; in dce110_translate_regamma_to_hw_format() 545 y_g = rgb_resulted[hw_points - 1].green; in dce110_translate_regamma_to_hw_format() 546 y_b = rgb_resulted[hw_points - 1].blue; in dce110_translate_regamma_to_hw_format() [all …]
|