Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dpp.c45 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
46 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c189 const struct rect *viewport_c) in hubp21_set_viewport() argument
212 PRI_VIEWPORT_WIDTH_C, viewport_c->width, in hubp21_set_viewport()
213 PRI_VIEWPORT_HEIGHT_C, viewport_c->height); in hubp21_set_viewport()
216 PRI_VIEWPORT_X_START_C, viewport_c->x, in hubp21_set_viewport()
217 PRI_VIEWPORT_Y_START_C, viewport_c->y); in hubp21_set_viewport()
220 SEC_VIEWPORT_WIDTH_C, viewport_c->width, in hubp21_set_viewport()
221 SEC_VIEWPORT_HEIGHT_C, viewport_c->height); in hubp21_set_viewport()
224 SEC_VIEWPORT_X_START_C, viewport_c->x, in hubp21_set_viewport()
225 SEC_VIEWPORT_Y_START_C, viewport_c->y); in hubp21_set_viewport()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c828 const struct rect *viewport_c) in min_set_viewport() argument
851 PRI_VIEWPORT_WIDTH_C, viewport_c->width, in min_set_viewport()
852 PRI_VIEWPORT_HEIGHT_C, viewport_c->height); in min_set_viewport()
855 PRI_VIEWPORT_X_START_C, viewport_c->x, in min_set_viewport()
856 PRI_VIEWPORT_Y_START_C, viewport_c->y); in min_set_viewport()
859 SEC_VIEWPORT_WIDTH_C, viewport_c->width, in min_set_viewport()
860 SEC_VIEWPORT_HEIGHT_C, viewport_c->height); in min_set_viewport()
863 SEC_VIEWPORT_X_START_C, viewport_c->x, in min_set_viewport()
864 SEC_VIEWPORT_Y_START_C, viewport_c->y); in min_set_viewport()
Ddcn10_dpp_dscl.c406 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions()
407 scl_data->viewport_c.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
Ddcn10_hubp.h766 const struct rect *viewport_c);
Ddcn10_hw_sequencer.c2805 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn10_update_dchubp_dpp()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c269 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
270 scl_data->viewport_c.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
Ddcn20_resource.c1504 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1518 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1523 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
Ddcn20_hwseq.c1387 || memcmp(&old_pipe->plane_res.scl_data.viewport_c, in dcn20_detect_pipe_changes()
1388 &new_pipe->plane_res.scl_data.viewport_c, sizeof(struct rect))) in dcn20_detect_pipe_changes()
1548 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn20_update_dchubp_dpp()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h108 const struct rect *viewport_c);
Dhubp.h114 const struct rect *viewport_c);
Dtransform.h173 struct rect viewport_c; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c793 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size()
794 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size()
798 swap(data->viewport_c.width, data->viewport_c.height); in calculate_viewport_size()
1060 &data->viewport_c.x, in calculate_inits_and_viewports()
1061 &data->viewport_c.width); in calculate_inits_and_viewports()
1080 &data->viewport_c.y, in calculate_inits_and_viewports()
1081 &data->viewport_c.height); in calculate_inits_and_viewports()
1085 swap(data->viewport_c.x, data->viewport_c.y); in calculate_inits_and_viewports()
1086 swap(data->viewport_c.width, data->viewport_c.height); in calculate_inits_and_viewports()
1091 data->viewport_c.x += src.x / vpc_div; in calculate_inits_and_viewports()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1464 pipes[pipe_cnt].pipe.src.viewport_y_c = scl->viewport_c.y; in dcn20_populate_dml_pipes_from_context()
1466 pipes[pipe_cnt].pipe.src.viewport_x_c = scl->viewport_c.x; in dcn20_populate_dml_pipes_from_context()
1468 pipes[pipe_cnt].pipe.src.viewport_width_c = scl->viewport_c.width; in dcn20_populate_dml_pipes_from_context()
1470 pipes[pipe_cnt].pipe.src.viewport_height_c = scl->viewport_c.height; in dcn20_populate_dml_pipes_from_context()