Searched refs:scale_ratio_depth (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_lib.c | 168 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 …]
|
D | dml1_display_rq_dlg_calc.c | 1219 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()
|
D | display_mode_structs.h | 541 scaler_ratio_depth_st scale_ratio_depth; member
|
D | display_mode_vba.c | 533 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/ |
D | dcn_calcs.c | 399 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/ |
D | dcn20_fpu.c | 1413 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()
|
D | display_rq_dlg_calc_20.c | 799 const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; in dml20_rq_dlg_get_dlg_params()
|
D | display_rq_dlg_calc_20v2.c | 799 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/ |
D | display_rq_dlg_calc_21.c | 728 …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/ |
D | display_rq_dlg_calc_30.c | 696 …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/ |
D | display_rq_dlg_calc_31.c | 690 …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/ |
D | display_rq_dlg_calc_314.c | 778 …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/ |
D | dcn32_fpu.c | 385 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/ |
D | dcn30_resource.c | 1346 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/ |
D | dcn32_resource.c | 1928 pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_19; in dcn32_populate_dml_pipes_from_context()
|