Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c116 struct pwl_result_data *rgb_minus_1; in cm3_helper_translate_curve_to_hw_format() local
268 rgb_minus_1 = rgb; in cm3_helper_translate_curve_to_hw_format()
274 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm3_helper_translate_curve_to_hw_format()
276 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm3_helper_translate_curve_to_hw_format()
278 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm3_helper_translate_curve_to_hw_format()
295 rgb_minus_1 = rgb; in cm3_helper_translate_curve_to_hw_format()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c319 struct pwl_result_data *rgb_minus_1; in cm_helper_translate_curve_to_hw_format() local
467 rgb_minus_1 = rgb; in cm_helper_translate_curve_to_hw_format()
474 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm_helper_translate_curve_to_hw_format()
476 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm_helper_translate_curve_to_hw_format()
478 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm_helper_translate_curve_to_hw_format()
495 rgb_minus_1 = rgb; in cm_helper_translate_curve_to_hw_format()