Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubbub.c63 &hubbub2->compbuf_size_segments); in dcn32_init_crb()
102 + hubbub2->det3_size + hubbub2->compbuf_size_segments > hubbub2->crb_size_segs) { in dcn32_program_det_size()
106 hubbub2->compbuf_size_segments, hubbub2->crb_size_segs); in dcn32_program_det_size()
113 …unsigned int compbuf_size_segments = (compbuf_size_kb + DCN32_CRB_SEGMENT_SIZE_KB - 1) / DCN32_CRB… in dcn32_program_compbuf_size() local
115 if (safe_to_increase || compbuf_size_segments <= hubbub2->compbuf_size_segments) { in dcn32_program_compbuf_size()
116 if (compbuf_size_segments > hubbub2->compbuf_size_segments) { in dcn32_program_compbuf_size()
124 + hubbub2->det3_size + compbuf_size_segments <= hubbub2->crb_size_segs); in dcn32_program_compbuf_size()
125 REG_UPDATE(DCHUBBUB_COMPBUF_CTRL, COMPBUF_SIZE, compbuf_size_segments); in dcn32_program_compbuf_size()
126 hubbub2->compbuf_size_segments = compbuf_size_segments; in dcn32_program_compbuf_size()
127 …SSERT(REG_GET(DCHUBBUB_COMPBUF_CTRL, CONFIG_ERROR, &compbuf_size_segments) && !compbuf_size_segmen… in dcn32_program_compbuf_size()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c68 &hubbub2->compbuf_size_segments); in dcn31_init_crb()
108 + hubbub2->det3_size + hubbub2->compbuf_size_segments <= hubbub2->crb_size_segs); in dcn31_program_det_size()
114 …unsigned int compbuf_size_segments = (compbuf_size_kb + DCN31_CRB_SEGMENT_SIZE_KB - 1) / DCN31_CRB… in dcn31_program_compbuf_size() local
116 if (safe_to_increase || compbuf_size_segments <= hubbub2->compbuf_size_segments) { in dcn31_program_compbuf_size()
117 if (compbuf_size_segments > hubbub2->compbuf_size_segments) { in dcn31_program_compbuf_size()
125 + hubbub2->det3_size + compbuf_size_segments <= hubbub2->crb_size_segs); in dcn31_program_compbuf_size()
126 REG_UPDATE(DCHUBBUB_COMPBUF_CTRL, COMPBUF_SIZE, compbuf_size_segments); in dcn31_program_compbuf_size()
127 hubbub2->compbuf_size_segments = compbuf_size_segments; in dcn31_program_compbuf_size()
128 …SSERT(REG_GET(DCHUBBUB_COMPBUF_CTRL, CONFIG_ERROR, &compbuf_size_segments) && !compbuf_size_segmen… in dcn31_program_compbuf_size()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubbub.h93 unsigned int compbuf_size_segments; member