Searched refs:hw_points (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 326 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_hw_format() local 333 hw_points = 0; in cm_helper_translate_curve_to_hw_format() 373 hw_points += (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format() 383 if (j == hw_points - 1) 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() 398 rgb_resulted[hw_points].red = rgb_resulted[hw_points - 1].red; in cm_helper_translate_curve_to_hw_format() 399 rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green; in cm_helper_translate_curve_to_hw_format() 400 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_hw_format() [all …]
|
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 448 uint32_t i, j, k, seg_distr[NUMBER_REGIONS], increment, start_index, hw_points; in dce110_translate_regamma_to_hw_format() local 455 hw_points = 0; in dce110_translate_regamma_to_hw_format() 499 hw_points += (1 << seg_distr[k]); in dce110_translate_regamma_to_hw_format() 509 if (j == hw_points - 1) 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() 539 y_r = rgb_resulted[hw_points - 1].red; in dce110_translate_regamma_to_hw_format() 540 y_g = rgb_resulted[hw_points - 1].green; in dce110_translate_regamma_to_hw_format() 541 y_b = rgb_resulted[hw_points - 1].blue; in dce110_translate_regamma_to_hw_format() [all …]
|