Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c372 pipes[pipe_cnt].pipe.src.det_size_override = pipe_segments[i] * DCN3_2_DET_SEG_SIZE; in dcn32_determine_det_override()
377 pipes[i].pipe.src.det_size_override = 4 * DCN3_2_DET_SEG_SIZE; //DCN3_2_DEFAULT_DET_SIZE in dcn32_determine_det_override()
403 pipes[0].pipe.src.det_size_override = DCN3_2_MAX_DET_SIZE; in dcn32_set_det_allocations()
406 pipes[0].pipe.src.det_size_override = DCN3_2_DEFAULT_DET_SIZE; in dcn32_set_det_allocations()
410 pipes[0].pipe.src.det_size_override = 320; // 5K or higher in dcn32_set_det_allocations()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1718 pipes[pipe_cnt].pipe.src.det_size_override = approx_det_segs_required_for_pstate; in dcn315_populate_dml_pipes_from_context()
1754 pipes[pipe_cnt].pipe.src.det_size_override = 0; in dcn315_populate_dml_pipes_from_context()
1764 …pipes[pipe_cnt].pipe.src.det_size_override += (remaining_det_segs - MIN_RESERVED_DET_SEGS) / crb_p… in dcn315_populate_dml_pipes_from_context()
1766 if (pipes[pipe_cnt].pipe.src.det_size_override > 2 * DCN3_15_MAX_DET_SEGS) { in dcn315_populate_dml_pipes_from_context()
1768 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override - 2 * (DCN3_15_MAX_DET_SEGS); in dcn315_populate_dml_pipes_from_context()
1769 pipes[pipe_cnt].pipe.src.det_size_override = 2 * DCN3_15_MAX_DET_SEGS; in dcn315_populate_dml_pipes_from_context()
1771 if (pipes[pipe_cnt].pipe.src.det_size_override > DCN3_15_MAX_DET_SEGS || split_required) { in dcn315_populate_dml_pipes_from_context()
1773 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override % 2; in dcn315_populate_dml_pipes_from_context()
1774 pipes[pipe_cnt].pipe.src.det_size_override -= pipes[pipe_cnt].pipe.src.det_size_override % 2; in dcn315_populate_dml_pipes_from_context()
1777 pipes[pipe_cnt].pipe.src.det_size_override *= DCN3_15_CRB_SEGMENT_SIZE_KB; in dcn315_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_vba.c573 mode_lib->vba.DETSizeOverride[mode_lib->vba.NumberOfActivePlanes] = src->det_size_override; in fetch_pipe_params()
574 if (src->det_size_override) in fetch_pipe_params()
575 mode_lib->vba.DETBufferSizeInKByte[mode_lib->vba.NumberOfActivePlanes] = src->det_size_override; in fetch_pipe_params()
792 if (src_k->det_size_override) in fetch_pipe_params()
793 … mode_lib->vba.DETBufferSizeInKByte[mode_lib->vba.NumberOfActivePlanes] = src_k->det_size_override; in fetch_pipe_params()
H A Ddisplay_mode_structs.h400 unsigned int det_size_override; // use to populate DETSizeOverride in vba struct member