Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_utils.c484 unsigned int num_of_streams = 0, plane_index = 0, max_det_size, stream_index = 0; in dml2_apply_det_buffer_allocation_policy() local
487 max_det_size = in_ctx->config.det_segment_size * in_ctx->config.max_segments_per_hubp; in dml2_apply_det_buffer_allocation_policy()
494 dml_dispcfg->plane.DETSizeOverride[plane_index] = max_det_size / in_ctx->config.dcn_pipe_count; in dml2_apply_det_buffer_allocation_policy()
496 …dml_dispcfg->plane.DETSizeOverride[plane_index] = ((max_det_size / num_of_streams) / num_of_planes… in dml2_apply_det_buffer_allocation_policy()
514 unsigned int max_det_size, total_det_allocated = 0; in dml2_verify_det_buffer_configuration() local
517 max_det_size = in_ctx->config.det_segment_size * in_ctx->config.max_segments_per_hubp; in dml2_verify_det_buffer_configuration()
532 if (total_det_allocated > max_det_size) { in dml2_verify_det_buffer_configuration()