Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_lib.c168 scaler_ratio_depth_st *scale_ratio_depth; in dml_log_pipe_params() local
177 scale_ratio_depth = &(pipes[i].pipe.scale_ratio_depth); in dml_log_pipe_params()
249 dml_print("DML PARAMS: hscl_ratio = %3.4f\n", scale_ratio_depth->hscl_ratio); in dml_log_pipe_params()
250 dml_print("DML PARAMS: vscl_ratio = %3.4f\n", scale_ratio_depth->vscl_ratio); in dml_log_pipe_params()
251 …dml_print("DML PARAMS: hscl_ratio_c = %3.4f\n", scale_ratio_depth->hscl_ratio_c); in dml_log_pipe_params()
252 …dml_print("DML PARAMS: vscl_ratio_c = %3.4f\n", scale_ratio_depth->vscl_ratio_c); in dml_log_pipe_params()
253 dml_print("DML PARAMS: vinit = %3.4f\n", scale_ratio_depth->vinit); in dml_log_pipe_params()
254 dml_print("DML PARAMS: vinit_c = %3.4f\n", scale_ratio_depth->vinit_c); in dml_log_pipe_params()
255 dml_print("DML PARAMS: vinit_bot = %3.4f\n", scale_ratio_depth->vinit_bot); in dml_log_pipe_params()
256 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()
1823 hratios_cur0 = e2e_pipe_param->pipe.scale_ratio_depth.hscl_ratio; in dml1_rq_dlg_get_dlg_params()
Ddisplay_mode_structs.h541 scaler_ratio_depth_st scale_ratio_depth; member
Ddisplay_mode_vba.c533 scaler_ratio_depth_st *scl = &pipes[j].pipe.scale_ratio_depth; in fetch_pipe_params()
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1413 pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; in dcn20_populate_dml_pipes_from_context()
1414 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = 1.0; in dcn20_populate_dml_pipes_from_context()
1415 pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = 1.0; in dcn20_populate_dml_pipes_from_context()
1416 pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = 0; /*Lb only or Full scl*/ in dcn20_populate_dml_pipes_from_context()
1510 pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; in dcn20_populate_dml_pipes_from_context()
1511 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = (double) scl->ratios.horz.value / (1ULL<<32); in dcn20_populate_dml_pipes_from_context()
1512 …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()
1513 pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = (double) scl->ratios.vert.value / (1ULL<<32); in dcn20_populate_dml_pipes_from_context()
1514 …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()
1515 pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = in dcn20_populate_dml_pipes_from_context()
Ddisplay_rq_dlg_calc_20.c799 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.c799 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml20v2_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c728 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
729 src_hactive_half = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_half; in get_surf_rq_param()
731 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
732 src_hactive_half = pipe_param->scale_ratio_depth.hscl_ratio * hactive_half; in get_surf_rq_param()
845 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c696 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
697 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_odm; in get_surf_rq_param()
699 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
700 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio * hactive_odm; in get_surf_rq_param()
910 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c690 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
691 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_odm; in get_surf_rq_param()
693 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
694 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio * hactive_odm; in get_surf_rq_param()
870 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c778 …full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio_c * pipe_param->dest.full_recout_widt… in get_surf_rq_param()
779 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio_c * hactive_odm; in get_surf_rq_param()
781 … full_src_vp_width = pipe_param->scale_ratio_depth.hscl_ratio * pipe_param->dest.full_recout_width; in get_surf_rq_param()
782 src_hactive_odm = pipe_param->scale_ratio_depth.hscl_ratio * hactive_odm; in get_surf_rq_param()
956 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c385 dml32_CalculateSinglePipeDPPCLKAndSCLThroughput(pipe_e2e->pipe.scale_ratio_depth.hscl_ratio, in dcn32_predict_pipe_split()
386 pipe_e2e->pipe.scale_ratio_depth.hscl_ratio_c, in dcn32_predict_pipe_split()
387 pipe_e2e->pipe.scale_ratio_depth.vscl_ratio, in dcn32_predict_pipe_split()
388 pipe_e2e->pipe.scale_ratio_depth.vscl_ratio_c, in dcn32_predict_pipe_split()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1346 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource.c1928 pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_19; in dcn32_populate_dml_pipes_from_context()