Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/basics/
A Ddc_common.c81 void build_prescale_params(struct dc_bias_and_scale *bias_and_scale, in build_prescale_params() argument
88 bias_and_scale->scale_blue = fixed_point_to_int_frac( in build_prescale_params()
93 bias_and_scale->scale_red = bias_and_scale->scale_blue; in build_prescale_params()
94 bias_and_scale->scale_green = bias_and_scale->scale_blue; in build_prescale_params()
96 bias_and_scale->scale_blue = 0x2000; in build_prescale_params()
97 bias_and_scale->scale_red = 0x2000; in build_prescale_params()
98 bias_and_scale->scale_green = 0x2000; in build_prescale_params()
A Ddc_common.h39 void build_prescale_params(struct dc_bias_and_scale *bias_and_scale,
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_dpp.c256 struct dc_bias_and_scale *bias_and_scale) in dpp2_cnv_set_bias_scale() argument
260 REG_UPDATE(FCNV_FP_BIAS_R, FCNV_FP_BIAS_R, bias_and_scale->bias_red); in dpp2_cnv_set_bias_scale()
261 REG_UPDATE(FCNV_FP_BIAS_G, FCNV_FP_BIAS_G, bias_and_scale->bias_green); in dpp2_cnv_set_bias_scale()
262 REG_UPDATE(FCNV_FP_BIAS_B, FCNV_FP_BIAS_B, bias_and_scale->bias_blue); in dpp2_cnv_set_bias_scale()
263 REG_UPDATE(FCNV_FP_SCALE_R, FCNV_FP_SCALE_R, bias_and_scale->scale_red); in dpp2_cnv_set_bias_scale()
264 REG_UPDATE(FCNV_FP_SCALE_G, FCNV_FP_SCALE_G, bias_and_scale->scale_green); in dpp2_cnv_set_bias_scale()
265 REG_UPDATE(FCNV_FP_SCALE_B, FCNV_FP_SCALE_B, bias_and_scale->scale_blue); in dpp2_cnv_set_bias_scale()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_dpp.c479 struct dc_bias_and_scale *bias_and_scale) in dpp3_cnv_set_bias_scale() argument
483 REG_UPDATE(FCNV_FP_BIAS_R, FCNV_FP_BIAS_R, bias_and_scale->bias_red); in dpp3_cnv_set_bias_scale()
484 REG_UPDATE(FCNV_FP_BIAS_G, FCNV_FP_BIAS_G, bias_and_scale->bias_green); in dpp3_cnv_set_bias_scale()
485 REG_UPDATE(FCNV_FP_BIAS_B, FCNV_FP_BIAS_B, bias_and_scale->bias_blue); in dpp3_cnv_set_bias_scale()
486 REG_UPDATE(FCNV_FP_SCALE_R, FCNV_FP_SCALE_R, bias_and_scale->scale_red); in dpp3_cnv_set_bias_scale()
487 REG_UPDATE(FCNV_FP_SCALE_G, FCNV_FP_SCALE_G, bias_and_scale->scale_green); in dpp3_cnv_set_bias_scale()
488 REG_UPDATE(FCNV_FP_SCALE_B, FCNV_FP_SCALE_B, bias_and_scale->scale_blue); in dpp3_cnv_set_bias_scale()
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc.h969 struct dc_bias_and_scale *bias_and_scale; member

Completed in 16 milliseconds