Home
last modified time | relevance | path

Searched refs:cnv_params (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb.c78 REG_UPDATE_2(CNV_SOURCE_SIZE, CNV_SOURCE_WIDTH, params->cnv_params.src_width, in dwb2_config_dwb_cnv()
79 CNV_SOURCE_HEIGHT, params->cnv_params.src_height); in dwb2_config_dwb_cnv()
82 if (params->cnv_params.crop_en) { in dwb2_config_dwb_cnv()
84 REG_UPDATE(CNV_WINDOW_START, CNV_WINDOW_START_X, params->cnv_params.crop_x); in dwb2_config_dwb_cnv()
85 REG_UPDATE(CNV_WINDOW_START, CNV_WINDOW_START_Y, params->cnv_params.crop_y); in dwb2_config_dwb_cnv()
86 REG_UPDATE(CNV_WINDOW_SIZE, CNV_WINDOW_WIDTH, params->cnv_params.crop_width); in dwb2_config_dwb_cnv()
87 REG_UPDATE(CNV_WINDOW_SIZE, CNV_WINDOW_HEIGHT, params->cnv_params.crop_height); in dwb2_config_dwb_cnv()
96 REG_UPDATE(CNV_MODE, CNV_OUT_BPC, params->cnv_params.cnv_out_bpc); in dwb2_config_dwb_cnv()
104 if ((params->cnv_params.src_width != params->dest_width) || in dwb2_enable()
105 (params->cnv_params.src_height != params->dest_height)) { in dwb2_enable()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dwb.c71 REG_UPDATE_2(FC_SOURCE_SIZE, FC_SOURCE_WIDTH, params->cnv_params.src_width, in dwb3_config_fc()
72 FC_SOURCE_HEIGHT, params->cnv_params.src_height); in dwb3_config_fc()
75 if (params->cnv_params.crop_en) { in dwb3_config_fc()
77 REG_UPDATE(FC_WINDOW_START, FC_WINDOW_START_X, params->cnv_params.crop_x); in dwb3_config_fc()
78 REG_UPDATE(FC_WINDOW_START, FC_WINDOW_START_Y, params->cnv_params.crop_y); in dwb3_config_fc()
79 REG_UPDATE(FC_WINDOW_SIZE, FC_WINDOW_WIDTH, params->cnv_params.crop_width); in dwb3_config_fc()
80 REG_UPDATE(FC_WINDOW_SIZE, FC_WINDOW_HEIGHT, params->cnv_params.crop_height); in dwb3_config_fc()
211 REG_UPDATE(DWB_OUT_CTRL, OUT_FORMAT, params->cnv_params.fc_out_format); in dwb3_set_denorm()
214 if (params->cnv_params.fc_out_format == DWB_OUT_FORMAT_32BPP_ARGB || in dwb3_set_denorm()
215 params->cnv_params.fc_out_format == DWB_OUT_FORMAT_32BPP_RGBA) { in dwb3_set_denorm()
[all …]
Ddcn30_resource.c1411 if (writeback_info->dwb_params.cnv_params.fc_out_format == DWB_OUT_FORMAT_64BPP_ARGB || in dcn30_set_mcif_arb_params()
1412 writeback_info->dwb_params.cnv_params.fc_out_format == DWB_OUT_FORMAT_64BPP_RGBA) in dcn30_set_mcif_arb_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c284 dout_wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_fpu_populate_dml_writeback_from_context()
285 wb_info->dwb_params.cnv_params.crop_height : in dcn30_fpu_populate_dml_writeback_from_context()
286 wb_info->dwb_params.cnv_params.src_height; in dcn30_fpu_populate_dml_writeback_from_context()
287 dout_wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_fpu_populate_dml_writeback_from_context()
288 wb_info->dwb_params.cnv_params.crop_width : in dcn30_fpu_populate_dml_writeback_from_context()
289 wb_info->dwb_params.cnv_params.src_width; in dcn30_fpu_populate_dml_writeback_from_context()
303 dout_wb.wb_hratio = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_fpu_populate_dml_writeback_from_context()
304 (double)wb_info->dwb_params.cnv_params.crop_width / in dcn30_fpu_populate_dml_writeback_from_context()
306 (double)wb_info->dwb_params.cnv_params.src_width / in dcn30_fpu_populate_dml_writeback_from_context()
308 dout_wb.wb_vratio = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_fpu_populate_dml_writeback_from_context()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c896 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context()
897 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context()
2337 dout_wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_en ? in dcn201_populate_dml_writeback_from_context_fpu()
2338 wb_info->dwb_params.cnv_params.crop_height : in dcn201_populate_dml_writeback_from_context_fpu()
2339 wb_info->dwb_params.cnv_params.src_height; in dcn201_populate_dml_writeback_from_context_fpu()
2340 dout_wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_en ? in dcn201_populate_dml_writeback_from_context_fpu()
2341 wb_info->dwb_params.cnv_params.crop_width : in dcn201_populate_dml_writeback_from_context_fpu()
2342 wb_info->dwb_params.cnv_params.src_width; in dcn201_populate_dml_writeback_from_context_fpu()
2349 dout_wb.wb_hratio = wb_info->dwb_params.cnv_params.crop_en ? in dcn201_populate_dml_writeback_from_context_fpu()
2350 (double)wb_info->dwb_params.cnv_params.crop_width / in dcn201_populate_dml_writeback_from_context_fpu()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_types.h501 struct dc_dwb_cnv_params cnv_params; /* CNV source size and cropping window parameters */ member