Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/display/dc/dcn32/
H A Ddcn32_resource_helpers.c342 pipes[pipe_cnt].pipe.src.det_size_override = pipe_segments[i] * DCN3_2_DET_SEG_SIZE; in dcn32_determine_det_override()
347 pipes[i].pipe.src.det_size_override = 4 * DCN3_2_DET_SEG_SIZE; //DCN3_2_DEFAULT_DET_SIZE in dcn32_determine_det_override()
373 pipes[0].pipe.src.det_size_override = DCN3_2_MAX_DET_SIZE; in dcn32_set_det_allocations()
376 pipes[0].pipe.src.det_size_override = DCN3_2_DEFAULT_DET_SIZE; in dcn32_set_det_allocations()
380 pipes[0].pipe.src.det_size_override = 320; // 5K or higher in dcn32_set_det_allocations()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn315/
H A Ddcn315_resource.c1709 pipes[pipe_cnt].pipe.src.det_size_override = approx_det_segs_required_for_pstate; in dcn315_populate_dml_pipes_from_context()
1745 pipes[pipe_cnt].pipe.src.det_size_override = 0; in dcn315_populate_dml_pipes_from_context()
1755 …pipes[pipe_cnt].pipe.src.det_size_override += (remaining_det_segs - MIN_RESERVED_DET_SEGS) / crb_p… in dcn315_populate_dml_pipes_from_context()
1757 if (pipes[pipe_cnt].pipe.src.det_size_override > 2 * DCN3_15_MAX_DET_SEGS) { in dcn315_populate_dml_pipes_from_context()
1759 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override - 2 * (DCN3_15_MAX_DET_SEGS); in dcn315_populate_dml_pipes_from_context()
1760 pipes[pipe_cnt].pipe.src.det_size_override = 2 * DCN3_15_MAX_DET_SEGS; in dcn315_populate_dml_pipes_from_context()
1762 if (pipes[pipe_cnt].pipe.src.det_size_override > DCN3_15_MAX_DET_SEGS || split_required) { in dcn315_populate_dml_pipes_from_context()
1764 remaining_det_segs += pipes[pipe_cnt].pipe.src.det_size_override % 2; in dcn315_populate_dml_pipes_from_context()
1765 pipes[pipe_cnt].pipe.src.det_size_override -= pipes[pipe_cnt].pipe.src.det_size_override % 2; in dcn315_populate_dml_pipes_from_context()
1768 pipes[pipe_cnt].pipe.src.det_size_override *= DCN3_15_CRB_SEGMENT_SIZE_KB; in dcn315_populate_dml_pipes_from_context()
/openbsd/sys/dev/pci/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