Searched refs:cnv_params (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dwb.c | 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() 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() 164 if ((params->cnv_params.src_width != params->dest_width) || in dwb2_update() 165 (params->cnv_params.src_height != params->dest_height)) { in dwb2_update() 277 if (params->cnv_params.crop_en) { in dwb2_set_scaler() 279 dwb_program_horz_scalar(dwbc20, params->cnv_params.crop_width, in dwb2_set_scaler() 290 dwb_program_horz_scalar(dwbc20, params->cnv_params.src_width, in dwb2_set_scaler() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dwb/dcn30/ |
H A 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() 233 REG_UPDATE(DWB_OUT_CTRL, OUT_FORMAT, params->cnv_params.fc_out_format); in dwb3_set_denorm() 236 if (params->cnv_params.fc_out_format == DWB_OUT_FORMAT_32BPP_ARGB || in dwb3_set_denorm() 237 params->cnv_params.fc_out_format == DWB_OUT_FORMAT_32BPP_RGBA) { in dwb3_set_denorm() 238 REG_UPDATE(DWB_OUT_CTRL, OUT_DENORM, params->cnv_params.out_denorm_mode); in dwb3_set_denorm() 239 REG_UPDATE(DWB_OUT_CTRL, OUT_MAX, params->cnv_params.out_max_pix_val); in dwb3_set_denorm() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | dcn30_fpu.c | 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() 309 (double)wb_info->dwb_params.cnv_params.crop_height / in dcn30_fpu_populate_dml_writeback_from_context() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_translation_helper.c | 1214 out->WritebackSourceWidth[location] = wb_info->dwb_params.cnv_params.crop_en ? in populate_dml_writeback_cfg_from_stream_state() 1215 wb_info->dwb_params.cnv_params.crop_width : in populate_dml_writeback_cfg_from_stream_state() 1216 wb_info->dwb_params.cnv_params.src_width; in populate_dml_writeback_cfg_from_stream_state() 1219 wb_info->dwb_params.cnv_params.crop_height : in populate_dml_writeback_cfg_from_stream_state() 1220 wb_info->dwb_params.cnv_params.src_height; in populate_dml_writeback_cfg_from_stream_state() 1227 out->WritebackHRatio[location] = wb_info->dwb_params.cnv_params.crop_en ? in populate_dml_writeback_cfg_from_stream_state() 1228 (double)wb_info->dwb_params.cnv_params.crop_width / in populate_dml_writeback_cfg_from_stream_state() 1230 (double)wb_info->dwb_params.cnv_params.src_width / in populate_dml_writeback_cfg_from_stream_state() 1232 out->WritebackVRatio[location] = wb_info->dwb_params.cnv_params.crop_en ? in populate_dml_writeback_cfg_from_stream_state() 1233 (double)wb_info->dwb_params.cnv_params.crop_height / in populate_dml_writeback_cfg_from_stream_state() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 2505 wb_info->dwb_params.cnv_params.crop_height : in dcn201_populate_dml_writeback_from_context_fpu() 2506 wb_info->dwb_params.cnv_params.src_height; in dcn201_populate_dml_writeback_from_context_fpu() 2507 dout_wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_en ? in dcn201_populate_dml_writeback_from_context_fpu() 2508 wb_info->dwb_params.cnv_params.crop_width : in dcn201_populate_dml_writeback_from_context_fpu() 2509 wb_info->dwb_params.cnv_params.src_width; in dcn201_populate_dml_writeback_from_context_fpu() 2516 dout_wb.wb_hratio = wb_info->dwb_params.cnv_params.crop_en ? in dcn201_populate_dml_writeback_from_context_fpu() 2517 (double)wb_info->dwb_params.cnv_params.crop_width / in dcn201_populate_dml_writeback_from_context_fpu() 2519 (double)wb_info->dwb_params.cnv_params.src_width / in dcn201_populate_dml_writeback_from_context_fpu() 2521 dout_wb.wb_vratio = wb_info->dwb_params.cnv_params.crop_en ? in dcn201_populate_dml_writeback_from_context_fpu() 2522 (double)wb_info->dwb_params.cnv_params.crop_height / in dcn201_populate_dml_writeback_from_context_fpu() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_types.h | 418 struct dc_dwb_cnv_params cnv_params; /* CNV source size and cropping window parameters */ member
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
H A D | dcn30_resource.c | 1401 if (writeback_info->dwb_params.cnv_params.fc_out_format == DWB_OUT_FORMAT_64BPP_ARGB || in dcn30_set_mcif_arb_params() 1402 writeback_info->dwb_params.cnv_params.fc_out_format == DWB_OUT_FORMAT_64BPP_RGBA) in dcn30_set_mcif_arb_params()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 9653 wb_info->dwb_params.cnv_params.cnv_out_bpc = DWB_CNV_OUT_BPC_10BPC; in dm_set_writeback() 9656 wb_info->dwb_params.cnv_params.src_width = acrtc->base.mode.crtc_hdisplay; in dm_set_writeback() 9657 wb_info->dwb_params.cnv_params.src_height = acrtc->base.mode.crtc_vdisplay; in dm_set_writeback() 9661 wb_info->dwb_params.cnv_params.crop_en = false; in dm_set_writeback() 9664 wb_info->dwb_params.cnv_params.out_max_pix_val = 0x3ff; // 10 bits in dm_set_writeback() 9665 wb_info->dwb_params.cnv_params.out_min_pix_val = 0; in dm_set_writeback() 9666 wb_info->dwb_params.cnv_params.fc_out_format = DWB_OUT_FORMAT_32BPP_ARGB; in dm_set_writeback() 9667 wb_info->dwb_params.cnv_params.out_denorm_mode = DWB_OUT_DENORM_BYPASS; in dm_set_writeback()
|