Home
last modified time | relevance | path

Searched refs:viewport_width (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/
H A Ddml_top_display_cfg_types.h506 unsigned int viewport_width; member
511 unsigned int viewport_width; member
/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_auto.c46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
56 …v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation()
59 … =dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k] / v->scaler… in scaler_settings_calculation()
148 v->swath_width_ysingle_dpp[k] = v->viewport_width[k]; in mode_support_and_system_configuration()
621 …v->meta_surface_width_y =dcn_bw_ceil2(v->viewport_width[k] / v->no_of_dpp[i][j][k] - 1.0, v->meta_… in mode_support_and_system_configuration()
665viewport_width[k] / v->no_of_dpp[i][j][k] *dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(dcn_bw_… in mode_support_and_system_configuration()
668 …v->dpte_bytes_per_row_y = 64.0 * (dcn_bw_ceil2((v->viewport_width[k] / v->no_of_dpp[i][j][k] - 1.0… in mode_support_and_system_configuration()
681 …v->meta_surface_width_c =dcn_bw_ceil2(v->viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0 - 1.0, v-… in mode_support_and_system_configuration()
726viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0 * dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(… in mode_support_and_system_configuration()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1554 pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable; in dcn20_populate_dml_pipes_from_context()
1555 if (pipes[pipe_cnt].pipe.src.viewport_width > 1920) in dcn20_populate_dml_pipes_from_context()
1556 pipes[pipe_cnt].pipe.src.viewport_width = 1920; in dcn20_populate_dml_pipes_from_context()
1561 pipes[pipe_cnt].pipe.src.surface_width_y = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context()
1563 pipes[pipe_cnt].pipe.src.surface_width_c = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context()
1564 …pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 255) / 256) * 25… in dcn20_populate_dml_pipes_from_context()
1568 …pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hrati… in dcn20_populate_dml_pipes_from_context()
1582 pipes[pipe_cnt].pipe.src.viewport_width /= 2; in dcn20_populate_dml_pipes_from_context()
1585 pipes[pipe_cnt].pipe.src.viewport_width /= 4; in dcn20_populate_dml_pipes_from_context()
1627 pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; in dcn20_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1104 int viewport_width = state->crtc_w; in amdgpu_dm_plane_helper_check_state() local
1108 viewport_width += state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1110 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1117 if (viewport_width < 0 || viewport_height < 0) { in amdgpu_dm_plane_helper_check_state()
1120 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in amdgpu_dm_plane_helper_check_state()
1121 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in amdgpu_dm_plane_helper_check_state()
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_structs.h407 unsigned int viewport_width; member
H A Ddisplay_mode_vba.c550 src->viewport_width; in fetch_pipe_params()
797 src_k->viewport_width; in fetch_pipe_params()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c923 mcache_pipe_config->plane0.viewport_width = pipe_ctx->plane_res.scl_data.viewport.width; in dml21_get_pipe_mcache_config()
926 mcache_pipe_config->plane1.viewport_width = pipe_ctx->plane_res.scl_data.viewport_c.width; in dml21_get_pipe_mcache_config()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/
H A Ddml2_top_soc15.c1043 …ams->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_width - 1, in dml2_top_soc15_build_mcache_programming()
1074 …ams->mcache_configurations[config_index].pipe_configurations[pipe_index].plane1.viewport_width - 1, in dml2_top_soc15_build_mcache_programming()