/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mcif_wb.h | 68 struct mcif_wb { struct 77 struct mcif_wb *mcif_wb, argument 79 void (*enable_mcif)(struct mcif_wb *mcif_wb); 81 void (*disable_mcif)(struct mcif_wb *mcif_wb); 84 struct mcif_wb *mcif_wb, 89 struct mcif_wb *mcif_wb, 93 struct mcif_wb *mcif_wb, 97 struct mcif_wb *mcif_wb,
|
D | dwb.h | 35 struct mcif_wb; 160 struct mcif_wb *mcif;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn20/ |
D | dcn20_mmhubbub.c | 76 static void mmhubbub2_config_mcif_buf(struct mcif_wb *mcif_wb, in mmhubbub2_config_mcif_buf() argument 80 struct dcn20_mmhubbub *mcif_wb20 = TO_DCN20_MMHUBBUB(mcif_wb); in mmhubbub2_config_mcif_buf() 153 static void mmhubbub2_config_mcif_arb(struct mcif_wb *mcif_wb, in mmhubbub2_config_mcif_arb() argument 156 struct dcn20_mmhubbub *mcif_wb20 = TO_DCN20_MMHUBBUB(mcif_wb); in mmhubbub2_config_mcif_arb() 207 void mmhubbub2_config_mcif_irq(struct mcif_wb *mcif_wb, in mmhubbub2_config_mcif_irq() argument 210 struct dcn20_mmhubbub *mcif_wb20 = TO_DCN20_MMHUBBUB(mcif_wb); in mmhubbub2_config_mcif_irq() 222 void mmhubbub2_enable_mcif(struct mcif_wb *mcif_wb) in mmhubbub2_enable_mcif() argument 224 struct dcn20_mmhubbub *mcif_wb20 = TO_DCN20_MMHUBBUB(mcif_wb); in mmhubbub2_enable_mcif() 230 void mmhubbub2_disable_mcif(struct mcif_wb *mcif_wb) in mmhubbub2_disable_mcif() argument 232 struct dcn20_mmhubbub *mcif_wb20 = TO_DCN20_MMHUBBUB(mcif_wb); in mmhubbub2_disable_mcif() [all …]
|
D | dcn20_mmhubbub.h | 486 struct mcif_wb base; 492 void mmhubbub2_config_mcif_irq(struct mcif_wb *mcif_wb, 495 void mmhubbub2_enable_mcif(struct mcif_wb *mcif_wb); 497 void mmhubbub2_disable_mcif(struct mcif_wb *mcif_wb); 499 void mcifwb2_dump_frame(struct mcif_wb *mcif_wb,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn32/ |
D | dcn32_mmhubbub.c | 76 static void mmhubbub32_warmup_mcif(struct mcif_wb *mcif_wb, in mmhubbub32_warmup_mcif() argument 79 struct dcn30_mmhubbub *mcif_wb30 = TO_DCN30_MMHUBBUB(mcif_wb); in mmhubbub32_warmup_mcif() 103 static void mmhubbub32_config_mcif_buf(struct mcif_wb *mcif_wb, in mmhubbub32_config_mcif_buf() argument 107 struct dcn30_mmhubbub *mcif_wb30 = TO_DCN30_MMHUBBUB(mcif_wb); in mmhubbub32_config_mcif_buf() 156 static void mmhubbub32_config_mcif_arb(struct mcif_wb *mcif_wb, in mmhubbub32_config_mcif_arb() argument 159 struct dcn30_mmhubbub *mcif_wb30 = TO_DCN30_MMHUBBUB(mcif_wb); in mmhubbub32_config_mcif_arb()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_mmhubbub.c | 76 static void mmhubbub3_warmup_mcif(struct mcif_wb *mcif_wb, in mmhubbub3_warmup_mcif() argument 79 struct dcn30_mmhubbub *mcif_wb30 = TO_DCN30_MMHUBBUB(mcif_wb); in mmhubbub3_warmup_mcif() 103 static void mmhubbub3_config_mcif_buf(struct mcif_wb *mcif_wb, in mmhubbub3_config_mcif_buf() argument 107 struct dcn30_mmhubbub *mcif_wb30 = TO_DCN30_MMHUBBUB(mcif_wb); in mmhubbub3_config_mcif_buf() 156 static void mmhubbub3_config_mcif_arb(struct mcif_wb *mcif_wb, in mmhubbub3_config_mcif_arb() argument 159 struct dcn30_mmhubbub *mcif_wb30 = TO_DCN30_MMHUBBUB(mcif_wb); in mmhubbub3_config_mcif_arb()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
D | dcn30_hwseq.c | 414 struct mcif_wb *mcif_wb; in dcn30_set_writeback() local 421 mcif_wb = dc->res_pool->mcif_wb[wb_info->dwb_pipe_inst]; in dcn30_set_writeback() 428 mcif_wb->funcs->config_mcif_buf(mcif_wb, mcif_buf_params, wb_info->dwb_params.dest_height); in dcn30_set_writeback() 429 …mcif_wb->funcs->config_mcif_arb(mcif_wb, &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info-… in dcn30_set_writeback() 455 struct mcif_wb *mcif_wb; in dcn30_mmhubbub_warmup() local 474 mcif_wb = dc->res_pool->mcif_wb[0]; in dcn30_mmhubbub_warmup() 484 mcif_wb->funcs->warmup_mcif(mcif_wb, &warmup_params); in dcn30_mmhubbub_warmup() 490 mcif_wb = dc->res_pool->mcif_wb[wb_info[i].dwb_pipe_inst]; in dcn30_mmhubbub_warmup() 501 mcif_wb->funcs->warmup_mcif(mcif_wb, &warmup_params); in dcn30_mmhubbub_warmup() 513 struct mcif_wb *mcif_wb; in dcn30_enable_writeback() local [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 246 struct mcif_wb *mcif_wb[MAX_DWB_PIPES]; member 468 struct mcif_wb *mcif_wb; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.c | 2504 struct mcif_wb *mcif_wb; in dcn20_enable_writeback() local 2510 mcif_wb = dc->res_pool->mcif_wb[wb_info->dwb_pipe_inst]; in dcn20_enable_writeback() 2516 …mcif_wb->funcs->config_mcif_buf(mcif_wb, &wb_info->mcif_buf_params, wb_info->dwb_params.dest_heigh… in dcn20_enable_writeback() 2517 …mcif_wb->funcs->config_mcif_arb(mcif_wb, &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info-… in dcn20_enable_writeback() 2519 mcif_wb->funcs->enable_mcif(mcif_wb); in dcn20_enable_writeback() 2530 struct mcif_wb *mcif_wb; in dcn20_disable_writeback() local 2534 mcif_wb = dc->res_pool->mcif_wb[dwb_pipe_inst]; in dcn20_disable_writeback() 2537 mcif_wb->funcs->disable_mcif(mcif_wb); in dcn20_disable_writeback() 3164 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn20_fpga_init_hw()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
D | dcn302_resource.c | 758 pool->mcif_wb[i] = &mcif_wb30->base; in dcn302_mmhubbub_create() 1067 if (pool->mcif_wb[i] != NULL) { in dcn302_resource_destruct() 1068 kfree(TO_DCN30_MMHUBBUB(pool->mcif_wb[i])); in dcn302_resource_destruct() 1069 pool->mcif_wb[i] = NULL; in dcn302_resource_destruct()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn303/ |
D | dcn303_resource.c | 720 pool->mcif_wb[i] = &mcif_wb30->base; in dcn303_mmhubbub_create() 1012 if (pool->mcif_wb[i] != NULL) { in dcn303_resource_destruct() 1013 kfree(TO_DCN30_MMHUBBUB(pool->mcif_wb[i])); in dcn303_resource_destruct() 1014 pool->mcif_wb[i] = NULL; in dcn303_resource_destruct()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn301/ |
D | dcn301_resource.c | 1116 if (pool->base.mcif_wb[i] != NULL) { in dcn301_destruct() 1117 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn301_destruct() 1118 pool->base.mcif_wb[i] = NULL; in dcn301_destruct() 1221 pool->mcif_wb[i] = &mcif_wb30->base; in dcn301_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
D | dcn316_resource.c | 1442 if (pool->base.mcif_wb[i] != NULL) { in dcn316_resource_destruct() 1443 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn316_resource_destruct() 1444 pool->base.mcif_wb[i] = NULL; in dcn316_resource_destruct() 1552 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
D | dcn314_resource.c | 1502 if (pool->base.mcif_wb[i] != NULL) { in dcn314_resource_destruct() 1503 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn314_resource_destruct() 1504 pool->base.mcif_wb[i] = NULL; in dcn314_resource_destruct() 1615 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn21/ |
D | dcn21_resource.c | 724 if (pool->base.mcif_wb[i] != NULL) { in dcn21_resource_destruct() 725 kfree(TO_DCN20_MMHUBBUB(pool->base.mcif_wb[i])); in dcn21_resource_destruct() 726 pool->base.mcif_wb[i] = NULL; in dcn21_resource_destruct()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
D | dcn321_resource.c | 1432 if (pool->base.mcif_wb[i] != NULL) { in dcn321_resource_destruct() 1433 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn321_resource_destruct() 1434 pool->base.mcif_wb[i] = NULL; in dcn321_resource_destruct() 1538 pool->mcif_wb[i] = &mcif_wb30->base; in dcn321_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
D | dcn351_resource.c | 1495 if (pool->base.mcif_wb[i] != NULL) { in dcn351_resource_destruct() 1496 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn351_resource_destruct() 1497 pool->base.mcif_wb[i] = NULL; in dcn351_resource_destruct() 1644 pool->mcif_wb[i] = &mcif_wb30->base; in dcn35_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
D | dcn315_resource.c | 1446 if (pool->base.mcif_wb[i] != NULL) { in dcn315_resource_destruct() 1447 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn315_resource_destruct() 1448 pool->base.mcif_wb[i] = NULL; in dcn315_resource_destruct() 1559 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
D | dcn31_resource.c | 1446 if (pool->base.mcif_wb[i] != NULL) { in dcn31_resource_destruct() 1447 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn31_resource_destruct() 1448 pool->base.mcif_wb[i] = NULL; in dcn31_resource_destruct() 1559 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
D | dcn35_resource.c | 1515 if (pool->base.mcif_wb[i] != NULL) { in dcn35_resource_destruct() 1516 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn35_resource_destruct() 1517 pool->base.mcif_wb[i] = NULL; in dcn35_resource_destruct() 1664 pool->mcif_wb[i] = &mcif_wb30->base; in dcn35_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn401/ |
D | dcn401_resource.c | 1431 if (pool->base.mcif_wb[i] != NULL) { in dcn401_resource_destruct() 1432 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn401_resource_destruct() 1433 pool->base.mcif_wb[i] = NULL; in dcn401_resource_destruct() 1539 pool->mcif_wb[i] = &mcif_wb30->base; in dcn401_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
D | dcn30_resource.c | 1145 if (pool->base.mcif_wb[i] != NULL) { in dcn30_resource_destruct() 1146 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn30_resource_destruct() 1147 pool->base.mcif_wb[i] = NULL; in dcn30_resource_destruct() 1261 pool->mcif_wb[i] = &mcif_wb30->base; in dcn30_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
D | dcn20_resource.c | 1154 if (pool->base.mcif_wb[i] != NULL) { in dcn20_resource_destruct() 1155 kfree(TO_DCN20_MMHUBBUB(pool->base.mcif_wb[i])); in dcn20_resource_destruct() 1156 pool->base.mcif_wb[i] = NULL; in dcn20_resource_destruct() 2309 pool->mcif_wb[i] = &mcif_wb20->base; in dcn20_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
D | dcn32_resource.c | 1450 if (pool->base.mcif_wb[i] != NULL) { in dcn32_resource_destruct() 1451 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn32_resource_destruct() 1452 pool->base.mcif_wb[i] = NULL; in dcn32_resource_destruct() 1556 pool->mcif_wb[i] = &mcif_wb30->base; in dcn32_mmhubbub_create()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn201/ |
D | dcn201_hwseq.c | 331 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn201_init_hw()
|