Searched refs:hw_points (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 257 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_hw_format() local 266 hw_points = 0; in cm_helper_translate_curve_to_hw_format() 305 hw_points += (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format() 315 if (j == hw_points - 1) in cm_helper_translate_curve_to_hw_format() 326 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format() 327 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format() 328 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format() 343 y_r = rgb_resulted[hw_points - 1].red; in cm_helper_translate_curve_to_hw_format() 344 y_g = rgb_resulted[hw_points - 1].green; in cm_helper_translate_curve_to_hw_format() 345 y_b = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_hw_format() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 434 uint32_t i, j, k, seg_distr[NUMBER_REGIONS], increment, start_index, hw_points; in dce110_translate_regamma_to_hw_format() local 441 hw_points = 0; in dce110_translate_regamma_to_hw_format() 485 hw_points += (1 << seg_distr[k]); in dce110_translate_regamma_to_hw_format() 495 if (j == hw_points - 1) in dce110_translate_regamma_to_hw_format() 506 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format() 507 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format() 508 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format() 525 y_r = rgb_resulted[hw_points - 1].red; in dce110_translate_regamma_to_hw_format() 526 y_g = rgb_resulted[hw_points - 1].green; in dce110_translate_regamma_to_hw_format() 527 y_b = rgb_resulted[hw_points - 1].blue; in dce110_translate_regamma_to_hw_format() [all …]
|