Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c452 uint32_t i, j, k, seg_distr[NUMBER_REGIONS], increment, start_index, hw_points; in dce110_translate_regamma_to_hw_format() local
459 hw_points = 0; in dce110_translate_regamma_to_hw_format()
503 hw_points += (1 << seg_distr[k]); in dce110_translate_regamma_to_hw_format()
513 if (j == hw_points - 1) in dce110_translate_regamma_to_hw_format()
524 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format()
525 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format()
526 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
543 y_r = rgb_resulted[hw_points - 1].red; in dce110_translate_regamma_to_hw_format()
544 y_g = rgb_resulted[hw_points - 1].green; in dce110_translate_regamma_to_hw_format()
545 y_b = rgb_resulted[hw_points - 1].blue; in dce110_translate_regamma_to_hw_format()
[all …]