Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c309 #define NUMBER_SW_SEGMENTS 16 macro
375 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format()
377 NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
378 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
390 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format()
551 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm_helper_translate_curve_to_degamma_hw_format()
553 NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
554 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
566 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_degamma_hw_format()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c106 #define NUMBER_SW_SEGMENTS 16 macro
172 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm3_helper_translate_curve_to_hw_format()
174 NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
175 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
187 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format()
341 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm3_helper_translate_curve_to_degamma_hw_format()
343 NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
344 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
356 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_degamma_hw_format()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c429 #define NUMBER_SW_SEGMENTS 16 macro
502 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in dce110_translate_regamma_to_hw_format()
504 NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()
505 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()
517 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format()