| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | dcn30_fpu.c | 208 dout_wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_fpu_populate_dml_writeback_from_context() 209 wb_info->dwb_params.cnv_params.crop_height : in dcn30_fpu_populate_dml_writeback_from_context() 210 wb_info->dwb_params.cnv_params.src_height; in dcn30_fpu_populate_dml_writeback_from_context() 211 dout_wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_en ? in dcn30_fpu_populate_dml_writeback_from_context() 212 wb_info->dwb_params.cnv_params.crop_width : in dcn30_fpu_populate_dml_writeback_from_context() 213 wb_info->dwb_params.cnv_params.src_width; in dcn30_fpu_populate_dml_writeback_from_context() 214 dout_wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn30_fpu_populate_dml_writeback_from_context() 215 dout_wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn30_fpu_populate_dml_writeback_from_context() 219 dout_wb.wb_htaps_luma = wb_info->dwb_params.scaler_taps.h_taps; in dcn30_fpu_populate_dml_writeback_from_context() 220 dout_wb.wb_vtaps_luma = wb_info->dwb_params.scaler_taps.v_taps; in dcn30_fpu_populate_dml_writeback_from_context() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| H A D | dcn20_fpu.c | 1006 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context() 1007 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context() 1008 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context() 1009 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn20_populate_dml_writeback_from_context() 1012 pipes[pipe_cnt].dout.wb.wb_htaps_chroma = wb_info->dwb_params.scaler_taps.h_taps_c; in dcn20_populate_dml_writeback_from_context() 1013 pipes[pipe_cnt].dout.wb.wb_vtaps_chroma = wb_info->dwb_params.scaler_taps.v_taps_c; in dcn20_populate_dml_writeback_from_context() 1016 if (wb_info->dwb_params.out_format == dwb_scaler_mode_yuv420) { in dcn20_populate_dml_writeback_from_context() 1017 if (wb_info->dwb_params.output_depth == DWB_OUTPUT_PIXEL_DEPTH_8BPC) in dcn20_populate_dml_writeback_from_context() 2502 dout_wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_en ? in dcn201_populate_dml_writeback_from_context_fpu() 2503 wb_info->dwb_params.cnv_params.crop_height : in dcn201_populate_dml_writeback_from_context_fpu() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_translation_helper.c | 1238 out->ActiveWritebacksPerSurface[location] = wb_info->dwb_params.cnv_params.src_width; in populate_dml_writeback_cfg_from_stream_state() 1239 out->WritebackDestinationWidth[location] = wb_info->dwb_params.dest_width; in populate_dml_writeback_cfg_from_stream_state() 1240 out->WritebackDestinationHeight[location] = wb_info->dwb_params.dest_height; in populate_dml_writeback_cfg_from_stream_state() 1242 out->WritebackSourceWidth[location] = wb_info->dwb_params.cnv_params.crop_en ? in populate_dml_writeback_cfg_from_stream_state() 1243 wb_info->dwb_params.cnv_params.crop_width : in populate_dml_writeback_cfg_from_stream_state() 1244 wb_info->dwb_params.cnv_params.src_width; in populate_dml_writeback_cfg_from_stream_state() 1246 out->WritebackSourceHeight[location] = wb_info->dwb_params.cnv_params.crop_en ? in populate_dml_writeback_cfg_from_stream_state() 1247 wb_info->dwb_params.cnv_params.crop_height : in populate_dml_writeback_cfg_from_stream_state() 1248 wb_info->dwb_params.cnv_params.src_height; in populate_dml_writeback_cfg_from_stream_state() 1250 out->WritebackHTaps[location] = wb_info->dwb_params.scaler_taps.h_taps > 0 ? in populate_dml_writeback_cfg_from_stream_state() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_hw_sequencer.c | 2709 struct dc_dwb_params *dwb_params = params->dwbc_enable_params.dwb_params; in hwss_dwbc_enable() local 2712 dwb->funcs->enable(dwb, dwb_params); in hwss_dwbc_enable() 2726 struct dc_dwb_params *dwb_params = params->dwbc_update_params.dwb_params; in hwss_dwbc_update() local 2729 dwb->funcs->update(dwb, dwb_params); in hwss_dwbc_update() 3387 struct dc_dwb_params *dwb_params) in hwss_add_dwbc_update() argument 3392 seq_state->steps[*seq_state->num_steps].params.dwbc_update_params.dwb_params = dwb_params; in hwss_add_dwbc_update() 3471 struct dc_dwb_params *dwb_params) in hwss_add_dwbc_enable() argument 3476 seq_state->steps[*seq_state->num_steps].params.dwbc_enable_params.dwb_params = dwb_params; in hwss_add_dwbc_enable()
|
| H A D | dc_stream.c | 564 wb_info->dwb_params.out_transfer_func = &stream->out_transfer_func; in dc_stream_add_writeback()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 449 mcif_wb->funcs->config_mcif_buf(mcif_wb, mcif_buf_params, wb_info->dwb_params.dest_height); in dcn30_set_writeback() 467 dwb->funcs->update(dwb, &wb_info->dwb_params); in dcn30_update_writeback() 519 …warmup_params.region_size = wb_info[i].mcif_buf_params.luma_pitch * wb_info[i].dwb_params.dest_hei… in dcn30_mmhubbub_warmup() 551 dwb->funcs->enable(dwb, &wb_info->dwb_params); in dcn30_enable_writeback()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/ |
| H A D | hw_sequencer.h | 507 struct dc_dwb_params *dwb_params; member 516 struct dc_dwb_params *dwb_params; member 1772 struct dc_dwb_params *dwb_params); 1800 struct dc_dwb_params *dwb_params);
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 10655 wb_info->dwb_params.dwbscl_black_color = 0; in dm_set_writeback() 10656 wb_info->dwb_params.hdr_mult = 0x1F000; in dm_set_writeback() 10657 wb_info->dwb_params.csc_params.gamut_adjust_type = CM_GAMUT_ADJUST_TYPE_BYPASS; in dm_set_writeback() 10658 wb_info->dwb_params.csc_params.gamut_coef_format = CM_GAMUT_REMAP_COEF_FORMAT_S2_13; in dm_set_writeback() 10659 wb_info->dwb_params.output_depth = DWB_OUTPUT_PIXEL_DEPTH_10BPC; in dm_set_writeback() 10660 wb_info->dwb_params.cnv_params.cnv_out_bpc = DWB_CNV_OUT_BPC_10BPC; in dm_set_writeback() 10663 wb_info->dwb_params.cnv_params.src_width = acrtc->base.mode.crtc_hdisplay; in dm_set_writeback() 10664 wb_info->dwb_params.cnv_params.src_height = acrtc->base.mode.crtc_vdisplay; in dm_set_writeback() 10665 wb_info->dwb_params.dest_width = acrtc->base.mode.crtc_hdisplay; in dm_set_writeback() 10666 wb_info->dwb_params.dest_height = acrtc->base.mode.crtc_vdisplay; in dm_set_writeback() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_stream.h | 100 struct dc_dwb_params dwb_params; member
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 3276 hwss_add_dwbc_update(seq_state, dwb, &wb_info->dwb_params); in dcn401_enable_writeback_sequence() 3279 …hwss_add_mcif_wb_config_buf(seq_state, mcif_wb, &wb_info->mcif_buf_params, wb_info->dwb_params.des… in dcn401_enable_writeback_sequence() 3291 hwss_add_dwbc_enable(seq_state, dwb, &wb_info->dwb_params); in dcn401_enable_writeback_sequence() 3334 hwss_add_dwbc_update(seq_state, dwb, &wb_info->dwb_params); in dcn401_update_writeback_sequence() 3337 …hwss_add_mcif_wb_config_buf(seq_state, mcif_wb, &wb_info->mcif_buf_params, wb_info->dwb_params.des… in dcn401_update_writeback_sequence()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
| H A D | dcn30_resource.c | 1433 if (writeback_info->dwb_params.cnv_params.fc_out_format == DWB_OUT_FORMAT_64BPP_ARGB || in dcn30_set_mcif_arb_params() 1434 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/dc/resource/dcn20/ |
| H A D | dcn20_resource.c | 1652 …if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].dwb_params.out_format == dwb_scaler_mod… in dcn20_set_mcif_arb_params() 1653 …if (context->res_ctx.pipe_ctx[i].stream->writeback_info[j].dwb_params.output_depth == DWB_OUTPUT_P… in dcn20_set_mcif_arb_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.c | 2543 …mcif_wb->funcs->config_mcif_buf(mcif_wb, &wb_info->mcif_buf_params, wb_info->dwb_params.dest_heigh… in dcn20_enable_writeback() 2548 dwb->funcs->enable(dwb, &wb_info->dwb_params); in dcn20_enable_writeback()
|