Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c309 #define NUMBER_SW_SEGMENTS 16 macro
378 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format()
380 NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
381 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
393 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
562 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm_helper_translate_curve_to_degamma_hw_format()
564 NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
565 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
577 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c106 #define NUMBER_SW_SEGMENTS 16 macro
174 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm3_helper_translate_curve_to_hw_format()
176 NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
177 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
189 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
351 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm3_helper_translate_curve_to_degamma_hw_format()
353 NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
354 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
366 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c431 #define NUMBER_SW_SEGMENTS 16 macro
504 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in dce110_translate_regamma_to_hw_format()
506 NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()
507 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()
519 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()