Searched refs:cnv_params (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb.c | 78 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 …]
|
D | dcn20_resource.c | 1983 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context() 1984 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dwb.c | 71 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 …]
|
D | dcn30_resource.c | 1493 dout_wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_populate_dml_writeback_from_context() 1494 wb_info->dwb_params.cnv_params.crop_height : in dcn30_populate_dml_writeback_from_context() 1495 wb_info->dwb_params.cnv_params.src_height; in dcn30_populate_dml_writeback_from_context() 1496 dout_wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_populate_dml_writeback_from_context() 1497 wb_info->dwb_params.cnv_params.crop_width : in dcn30_populate_dml_writeback_from_context() 1498 wb_info->dwb_params.cnv_params.src_width; in dcn30_populate_dml_writeback_from_context() 1512 dout_wb.wb_hratio = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_populate_dml_writeback_from_context() 1513 (double)wb_info->dwb_params.cnv_params.crop_width / in dcn30_populate_dml_writeback_from_context() 1515 (double)wb_info->dwb_params.cnv_params.src_width / in dcn30_populate_dml_writeback_from_context() 1517 dout_wb.wb_vratio = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_populate_dml_writeback_from_context() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 527 struct dc_dwb_cnv_params cnv_params; /* CNV source size and cropping window parameters */ member
|