Searched refs:viewport_c (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/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-v5.10/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 | 420 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()
|
D | dcn10_hw_sequencer.c | 2566 &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()
|
D | dcn10_hubp.h | 752 const struct rect *viewport_c);
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dpp.c | 279 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()
|
D | dcn20_hwseq.c | 1307 || 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()
|
D | dcn20_resource.c | 1902 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/ |
D | mem_input.h | 104 const struct rect *viewport_c);
|
D | hubp.h | 109 const struct rect *viewport_c);
|
D | transform.h | 175 struct rect viewport_c; member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 757 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()
|