Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/
Ddcn35_hubbub.c66 &hubbub2->compbuf_size_segments); in dcn35_init_crb()
77 …unsigned int compbuf_size_segments = (compbuf_size_kb + DCN35_CRB_SEGMENT_SIZE_KB - 1) / DCN35_CRB… in dcn35_program_compbuf_size() local
79 if (safe_to_increase || compbuf_size_segments <= hubbub2->compbuf_size_segments) { in dcn35_program_compbuf_size()
80 if (compbuf_size_segments > hubbub2->compbuf_size_segments) { in dcn35_program_compbuf_size()
88 + hubbub2->det3_size + compbuf_size_segments <= hubbub2->crb_size_segs); in dcn35_program_compbuf_size()
89 REG_UPDATE(DCHUBBUB_COMPBUF_CTRL, COMPBUF_SIZE, compbuf_size_segments); in dcn35_program_compbuf_size()
90 hubbub2->compbuf_size_segments = compbuf_size_segments; in dcn35_program_compbuf_size()
91 …SSERT(REG_GET(DCHUBBUB_COMPBUF_CTRL, CONFIG_ERROR, &compbuf_size_segments) && !compbuf_size_segmen… in dcn35_program_compbuf_size()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/
Ddcn32_hubbub.c67 &hubbub2->compbuf_size_segments); in dcn32_init_crb()
123 + hubbub2->det3_size + hubbub2->compbuf_size_segments > hubbub2->crb_size_segs) { in dcn32_program_det_size()
127 hubbub2->compbuf_size_segments, hubbub2->crb_size_segs); in dcn32_program_det_size()
134 …unsigned int compbuf_size_segments = (compbuf_size_kb + DCN32_CRB_SEGMENT_SIZE_KB - 1) / DCN32_CRB… in dcn32_program_compbuf_size() local
136 if (safe_to_increase || compbuf_size_segments <= hubbub2->compbuf_size_segments) { in dcn32_program_compbuf_size()
137 if (compbuf_size_segments > hubbub2->compbuf_size_segments) { in dcn32_program_compbuf_size()
145 + hubbub2->det3_size + compbuf_size_segments <= hubbub2->crb_size_segs); in dcn32_program_compbuf_size()
146 REG_UPDATE(DCHUBBUB_COMPBUF_CTRL, COMPBUF_SIZE, compbuf_size_segments); in dcn32_program_compbuf_size()
147 hubbub2->compbuf_size_segments = compbuf_size_segments; in dcn32_program_compbuf_size()
148 …SSERT(REG_GET(DCHUBBUB_COMPBUF_CTRL, CONFIG_ERROR, &compbuf_size_segments) && !compbuf_size_segmen… in dcn32_program_compbuf_size()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/
Ddcn31_hubbub.c68 &hubbub2->compbuf_size_segments); in dcn31_init_crb()
109 + hubbub2->det3_size + hubbub2->compbuf_size_segments <= hubbub2->crb_size_segs); in dcn31_program_det_size()
137 …unsigned int compbuf_size_segments = (compbuf_size_kb + DCN31_CRB_SEGMENT_SIZE_KB - 1) / DCN31_CRB… in dcn31_program_compbuf_size() local
139 if (safe_to_increase || compbuf_size_segments <= hubbub2->compbuf_size_segments) { in dcn31_program_compbuf_size()
140 if (compbuf_size_segments > hubbub2->compbuf_size_segments) { in dcn31_program_compbuf_size()
148 + hubbub2->det3_size + compbuf_size_segments <= hubbub2->crb_size_segs); in dcn31_program_compbuf_size()
149 REG_UPDATE(DCHUBBUB_COMPBUF_CTRL, COMPBUF_SIZE, compbuf_size_segments); in dcn31_program_compbuf_size()
150 hubbub2->compbuf_size_segments = compbuf_size_segments; in dcn31_program_compbuf_size()
151 …SSERT(REG_GET(DCHUBBUB_COMPBUF_CTRL, CONFIG_ERROR, &compbuf_size_segments) && !compbuf_size_segmen… in dcn31_program_compbuf_size()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn401/
Ddcn401_hubbub.c61 &hubbub2->compbuf_size_segments); in dcn401_init_crb()
1142 + hubbub2->det3_size + hubbub2->compbuf_size_segments > hubbub2->crb_size_segs) { in dcn401_program_det_segments()
1146 hubbub2->compbuf_size_segments, hubbub2->crb_size_segs); in dcn401_program_det_segments()
1156 if (safe_to_increase || compbuf_size_seg <= hubbub2->compbuf_size_segments) { in dcn401_program_compbuf_segments()
1157 if (compbuf_size_seg > hubbub2->compbuf_size_segments) { in dcn401_program_compbuf_segments()
1167 hubbub2->compbuf_size_segments = compbuf_size_seg; in dcn401_program_compbuf_segments()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/
Ddcn20_hubbub.h93 unsigned int compbuf_size_segments; member