Home
last modified time | relevance | path

Searched refs:scale_ratio_depth (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_lib.c167 scaler_ratio_depth_st *scale_ratio_depth; in dml_log_pipe_params() local
176 scale_ratio_depth = &(pipes[i].pipe.scale_ratio_depth); in dml_log_pipe_params()
248 dml_print("DML PARAMS: hscl_ratio = %3.4f\n", scale_ratio_depth->hscl_ratio); in dml_log_pipe_params()
249 dml_print("DML PARAMS: vscl_ratio = %3.4f\n", scale_ratio_depth->vscl_ratio); in dml_log_pipe_params()
250 …dml_print("DML PARAMS: hscl_ratio_c = %3.4f\n", scale_ratio_depth->hscl_ratio_c); in dml_log_pipe_params()
251 …dml_print("DML PARAMS: vscl_ratio_c = %3.4f\n", scale_ratio_depth->vscl_ratio_c); in dml_log_pipe_params()
252 dml_print("DML PARAMS: vinit = %3.4f\n", scale_ratio_depth->vinit); in dml_log_pipe_params()
253 dml_print("DML PARAMS: vinit_c = %3.4f\n", scale_ratio_depth->vinit_c); in dml_log_pipe_params()
254 dml_print("DML PARAMS: vinit_bot = %3.4f\n", scale_ratio_depth->vinit_bot); in dml_log_pipe_params()
255 dml_print("DML PARAMS: vinit_bot_c = %3.4f\n", scale_ratio_depth->vinit_bot_c); in dml_log_pipe_params()
[all …]
Ddml1_display_rq_dlg_calc.c1219 hratios_l = e2e_pipe_param->pipe.scale_ratio_depth.hscl_ratio; in dml1_rq_dlg_get_dlg_params()
1220 hratios_c = e2e_pipe_param->pipe.scale_ratio_depth.hscl_ratio_c; in dml1_rq_dlg_get_dlg_params()
1221 vratio_l = e2e_pipe_param->pipe.scale_ratio_depth.vscl_ratio; in dml1_rq_dlg_get_dlg_params()
1222 vratio_c = e2e_pipe_param->pipe.scale_ratio_depth.vscl_ratio_c; in dml1_rq_dlg_get_dlg_params()
1225 vinit_l = e2e_pipe_param->pipe.scale_ratio_depth.vinit; in dml1_rq_dlg_get_dlg_params()
1226 vinit_c = e2e_pipe_param->pipe.scale_ratio_depth.vinit_c; in dml1_rq_dlg_get_dlg_params()
1227 vinit_bot_l = e2e_pipe_param->pipe.scale_ratio_depth.vinit_bot; in dml1_rq_dlg_get_dlg_params()
1228 vinit_bot_c = e2e_pipe_param->pipe.scale_ratio_depth.vinit_bot_c; in dml1_rq_dlg_get_dlg_params()
1818 hratios_cur0 = e2e_pipe_param->pipe.scale_ratio_depth.hscl_ratio; in dml1_rq_dlg_get_dlg_params()
Ddisplay_mode_structs.h544 scaler_ratio_depth_st scale_ratio_depth; member
Ddisplay_mode_vba.c535 scaler_ratio_depth_st *scl = &pipes[j].pipe.scale_ratio_depth; in fetch_pipe_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c399 input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
400 input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
401 input->scale_ratio_depth.vinit = pipe->plane_res.scl_data.inits.v.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
402 if (input->scale_ratio_depth.vinit < 1.0) in pipe_ctx_to_e2e_pipe_params()
403 input->scale_ratio_depth.vinit = 1; in pipe_ctx_to_e2e_pipe_params()
407 input->scale_ratio_depth.hscl_ratio_c = pipe->plane_res.scl_data.ratios.horz_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
408 input->scale_ratio_depth.vscl_ratio_c = pipe->plane_res.scl_data.ratios.vert_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
409 input->scale_ratio_depth.vinit_c = pipe->plane_res.scl_data.inits.v_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
410 if (input->scale_ratio_depth.vinit_c < 1.0) in pipe_ctx_to_e2e_pipe_params()
411 input->scale_ratio_depth.vinit_c = 1; in pipe_ctx_to_e2e_pipe_params()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c724 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
725 src_hactive_half = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_half; in get_surf_rq_param()
727 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
728 src_hactive_half = pipe_param->scale_ratio_depth.hscl_ratio * hactive_half; in get_surf_rq_param()
841 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c689 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
690 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_odm; in get_surf_rq_param()
692 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
693 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio * hactive_odm; in get_surf_rq_param()
869 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c693 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
694 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_odm; in get_surf_rq_param()
696 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
697 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio * hactive_odm; in get_surf_rq_param()
907 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1572 pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; in dcn20_populate_dml_pipes_from_context()
1573 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = 1.0; in dcn20_populate_dml_pipes_from_context()
1574 pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = 1.0; in dcn20_populate_dml_pipes_from_context()
1575 pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = 0; /*Lb only or Full scl*/ in dcn20_populate_dml_pipes_from_context()
1670 pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; in dcn20_populate_dml_pipes_from_context()
1671 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = (double) scl->ratios.horz.value / (1ULL<<32); in dcn20_populate_dml_pipes_from_context()
1672 …pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio_c = (double) scl->ratios.horz_c.value / (1ULL<<3… in dcn20_populate_dml_pipes_from_context()
1673 pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = (double) scl->ratios.vert.value / (1ULL<<32); in dcn20_populate_dml_pipes_from_context()
1674 …pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio_c = (double) scl->ratios.vert_c.value / (1ULL<<3… in dcn20_populate_dml_pipes_from_context()
1675 pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = in dcn20_populate_dml_pipes_from_context()
Ddisplay_rq_dlg_calc_20.c795 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml20_rq_dlg_get_dlg_params()
Ddisplay_rq_dlg_calc_20v2.c795 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml20v2_rq_dlg_get_dlg_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c777 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
778 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_odm; in get_surf_rq_param()
780 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
781 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio * hactive_odm; in get_surf_rq_param()
954 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/
Ddcn30_resource.c1336 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/
Ddcn32_resource.c1920 pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_19; in dcn32_populate_dml_pipes_from_context()