Searched refs:viewport_c (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_dpp.c | 45 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/ |
D | dcn21_hubp.c | 189 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/ |
D | dcn10_hubp.c | 828 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()
|
D | dcn10_dpp_dscl.c | 406 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()
|
D | dcn10_hubp.h | 766 const struct rect *viewport_c);
|
D | dcn10_hw_sequencer.c | 2805 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn10_update_dchubp_dpp()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dpp.c | 269 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()
|
D | dcn20_resource.c | 1504 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()
|
D | dcn20_hwseq.c | 1387 || 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/ |
D | mem_input.h | 108 const struct rect *viewport_c);
|
D | hubp.h | 114 const struct rect *viewport_c);
|
D | transform.h | 173 struct rect viewport_c; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 793 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/ |
D | dcn20_fpu.c | 1464 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()
|