Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/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.c420 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions()
421 scl_data->viewport_c.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
Ddcn10_hw_sequencer.c2566 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn10_update_dchubp_dpp()
2795 || memcmp(&old_pipe->plane_res.scl_data.viewport_c, in dcn10_disconnect_pipes()
2796 &new_pipe->plane_res.scl_data.viewport_c, sizeof(struct rect))) in dcn10_disconnect_pipes()
2872 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn10_disconnect_pipes()
Ddcn10_hubp.h752 const struct rect *viewport_c);
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c279 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
280 scl_data->viewport_c.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
Ddcn20_hwseq.c1307 || memcmp(&old_pipe->plane_res.scl_data.viewport_c, in dcn20_detect_pipe_changes()
1308 &new_pipe->plane_res.scl_data.viewport_c, sizeof(struct rect))) in dcn20_detect_pipe_changes()
1461 &pipe_ctx->plane_res.scl_data.viewport_c); in dcn20_update_dchubp_dpp()
Ddcn20_resource.c1902 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1916 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1921 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h104 const struct rect *viewport_c);
Dhubp.h109 const struct rect *viewport_c);
Dtransform.h175 struct rect viewport_c; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c757 data->viewport_c.x = data->viewport.x / vpc_div; in calculate_viewport()
758 data->viewport_c.y = data->viewport.y / vpc_div; in calculate_viewport()
763 data->viewport_c.width = (data->viewport.width + vpc_div - 1) / vpc_div; in calculate_viewport()
764 data->viewport_c.height = (data->viewport.height + vpc_div - 1) / vpc_div; in calculate_viewport()
767 data->viewport_c_unadjusted = data->viewport_c; in calculate_viewport()
1063 &data->viewport_c.x, in calculate_inits_and_adj_vp()
1064 &data->viewport_c.width); in calculate_inits_and_adj_vp()
1081 &data->viewport_c.y, in calculate_inits_and_adj_vp()
1082 &data->viewport_c.height); in calculate_inits_and_adj_vp()