Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A 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()
H A Ddcn10_dpp_dscl.c402 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions()
403 scl_data->viewport_c.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
H A Ddcn10_hubp.h768 const struct rect *viewport_c);
H A Ddcn10_hw_sequencer.c2803 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn10_update_dchubp_dpp()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmem_input.h108 const struct rect *viewport_c);
H A Dhubp.h114 const struct rect *viewport_c);
H A Dtransform.h173 struct rect viewport_c; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A 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()
H A Ddcn20_resource.c1509 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1523 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1528 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
H A Ddcn20_hwseq.c1433 || memcmp(&old_pipe->plane_res.scl_data.viewport_c, in dcn20_detect_pipe_changes()
1434 &new_pipe->plane_res.scl_data.viewport_c, sizeof(struct rect))) in dcn20_detect_pipe_changes()
1587 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn20_update_dchubp_dpp()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c805 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size()
806 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size()
810 swap(data->viewport_c.width, data->viewport_c.height); in calculate_viewport_size()
1353 &data->viewport_c.x, in calculate_inits_and_viewports()
1354 &data->viewport_c.width); in calculate_inits_and_viewports()
1373 &data->viewport_c.y, in calculate_inits_and_viewports()
1374 &data->viewport_c.height); in calculate_inits_and_viewports()
1378 swap(data->viewport_c.x, data->viewport_c.y); in calculate_inits_and_viewports()
1379 swap(data->viewport_c.width, data->viewport_c.height); in calculate_inits_and_viewports()
1384 data->viewport_c.x += src.x / vpc_div; in calculate_inits_and_viewports()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1615 pipes[pipe_cnt].pipe.src.viewport_y_c = scl->viewport_c.y; in dcn20_populate_dml_pipes_from_context()
1617 pipes[pipe_cnt].pipe.src.viewport_x_c = scl->viewport_c.x; in dcn20_populate_dml_pipes_from_context()
1619 pipes[pipe_cnt].pipe.src.viewport_width_c = scl->viewport_c.width; in dcn20_populate_dml_pipes_from_context()
1621 pipes[pipe_cnt].pipe.src.viewport_height_c = scl->viewport_c.height; in dcn20_populate_dml_pipes_from_context()