Home
last modified time | relevance | path

Searched refs:dc_pipe (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_utils.c252 struct pipe_ctx *dc_pipe) in dml21_populate_mall_allocation_size() argument
257 if (dc_pipe->stream && dc_pipe->plane_state && in dml21_populate_mall_allocation_size()
258 (dc_pipe->top_pipe == NULL || in dml21_populate_mall_allocation_size()
259 dc_pipe->plane_state != dc_pipe->top_pipe->plane_state) && in dml21_populate_mall_allocation_size()
260 dc_pipe->prev_odm_pipe == NULL) { in dml21_populate_mall_allocation_size()
262 if (in_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, dc_pipe) != SUBVP_PHANTOM) { in dml21_populate_mall_allocation_size()
263 dc_pipe->surface_size_in_mall_bytes = pln_prog->surface_size_mall_bytes; in dml21_populate_mall_allocation_size()
264 context->bw_ctx.bw.dcn.mall_ss_size_bytes += dc_pipe->surface_size_in_mall_bytes; in dml21_populate_mall_allocation_size()
267 dc_pipe->surface_size_in_mall_bytes = pln_prog->svp_size_mall_bytes; in dml21_populate_mall_allocation_size()
268 context->bw_ctx.bw.dcn.mall_subvp_size_bytes += dc_pipe->surface_size_in_mall_bytes; in dml21_populate_mall_allocation_size()
H A Ddml21_utils.h28 struct pipe_ctx *dc_pipe);