Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_cm_common.c322 struct pwl_result_data *rgb_minus_1; in cm_helper_translate_curve_to_hw_format() local
475 rgb_minus_1 = rgb; in cm_helper_translate_curve_to_hw_format()
482 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm_helper_translate_curve_to_hw_format()
484 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm_helper_translate_curve_to_hw_format()
486 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm_helper_translate_curve_to_hw_format()
511 rgb_minus_1 = rgb; in cm_helper_translate_curve_to_hw_format()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c116 struct pwl_result_data *rgb_minus_1; in cm3_helper_translate_curve_to_hw_format() local
270 rgb_minus_1 = rgb; in cm3_helper_translate_curve_to_hw_format()
276 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm3_helper_translate_curve_to_hw_format()
278 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm3_helper_translate_curve_to_hw_format()
280 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm3_helper_translate_curve_to_hw_format()
297 rgb_minus_1 = rgb; in cm3_helper_translate_curve_to_hw_format()