/linux-6.1.9/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; 165 struct mcif_wb *mcif;
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/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 | 493 struct mcif_wb base; 499 void mmhubbub2_config_mcif_irq(struct mcif_wb *mcif_wb, 502 void mmhubbub2_enable_mcif(struct mcif_wb *mcif_wb); 504 void mmhubbub2_disable_mcif(struct mcif_wb *mcif_wb); 506 void mcifwb2_dump_frame(struct mcif_wb *mcif_wb,
|
D | dcn20_hwseq.c | 2095 struct mcif_wb *mcif_wb; in dcn20_enable_writeback() local 2101 mcif_wb = dc->res_pool->mcif_wb[wb_info->dwb_pipe_inst]; in dcn20_enable_writeback() 2107 …mcif_wb->funcs->config_mcif_buf(mcif_wb, &wb_info->mcif_buf_params, wb_info->dwb_params.dest_heigh… in dcn20_enable_writeback() 2108 …mcif_wb->funcs->config_mcif_arb(mcif_wb, &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info-… in dcn20_enable_writeback() 2110 mcif_wb->funcs->enable_mcif(mcif_wb); in dcn20_enable_writeback() 2121 struct mcif_wb *mcif_wb; in dcn20_disable_writeback() local 2125 mcif_wb = dc->res_pool->mcif_wb[dwb_pipe_inst]; in dcn20_disable_writeback() 2128 mcif_wb->funcs->disable_mcif(mcif_wb); in dcn20_disable_writeback() 2754 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn20_fpga_init_hw()
|
D | dcn20_resource.c | 1173 if (pool->base.mcif_wb[i] != NULL) { in dcn20_resource_destruct() 1174 kfree(TO_DCN20_MMHUBBUB(pool->base.mcif_wb[i])); in dcn20_resource_destruct() 1175 pool->base.mcif_wb[i] = NULL; in dcn20_resource_destruct() 2274 pool->mcif_wb[i] = &mcif_wb20->base; in dcn20_mmhubbub_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/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()
|
D | dcn32_resource.c | 1462 if (pool->base.mcif_wb[i] != NULL) { in dcn32_resource_destruct() 1463 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn32_resource_destruct() 1464 pool->base.mcif_wb[i] = NULL; in dcn32_resource_destruct() 1565 pool->mcif_wb[i] = &mcif_wb30->base; in dcn32_mmhubbub_create()
|
/linux-6.1.9/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()
|
D | dcn30_hwseq.c | 226 struct mcif_wb *mcif_wb; in dcn30_set_writeback() local 233 mcif_wb = dc->res_pool->mcif_wb[wb_info->dwb_pipe_inst]; in dcn30_set_writeback() 240 mcif_wb->funcs->config_mcif_buf(mcif_wb, mcif_buf_params, wb_info->dwb_params.dest_height); in dcn30_set_writeback() 241 …mcif_wb->funcs->config_mcif_arb(mcif_wb, &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info-… in dcn30_set_writeback() 267 struct mcif_wb *mcif_wb; in dcn30_mmhubbub_warmup() local 286 mcif_wb = dc->res_pool->mcif_wb[0]; in dcn30_mmhubbub_warmup() 296 mcif_wb->funcs->warmup_mcif(mcif_wb, &warmup_params); in dcn30_mmhubbub_warmup() 302 mcif_wb = dc->res_pool->mcif_wb[wb_info[i].dwb_pipe_inst]; in dcn30_mmhubbub_warmup() 313 mcif_wb->funcs->warmup_mcif(mcif_wb, &warmup_params); in dcn30_mmhubbub_warmup() 325 struct mcif_wb *mcif_wb; in dcn30_enable_writeback() local [all …]
|
D | dcn30_resource.c | 1159 if (pool->base.mcif_wb[i] != NULL) { in dcn30_resource_destruct() 1160 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn30_resource_destruct() 1161 pool->base.mcif_wb[i] = NULL; in dcn30_resource_destruct() 1272 pool->mcif_wb[i] = &mcif_wb30->base; in dcn30_mmhubbub_create()
|
D | dcn30_mmhubbub.h | 442 struct mcif_wb base;
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 266 struct mcif_wb *mcif_wb[MAX_DWB_PIPES]; member 443 struct mcif_wb *mcif_wb; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 763 pool->mcif_wb[i] = &mcif_wb30->base; in dcn302_mmhubbub_create() 1079 if (pool->mcif_wb[i] != NULL) { in dcn302_resource_destruct() 1080 kfree(TO_DCN30_MMHUBBUB(pool->mcif_wb[i])); in dcn302_resource_destruct() 1081 pool->mcif_wb[i] = NULL; in dcn302_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 707 pool->mcif_wb[i] = &mcif_wb30->base; in dcn303_mmhubbub_create() 1006 if (pool->mcif_wb[i] != NULL) { in dcn303_resource_destruct() 1007 kfree(TO_DCN30_MMHUBBUB(pool->mcif_wb[i])); in dcn303_resource_destruct() 1008 pool->mcif_wb[i] = NULL; in dcn303_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 1137 if (pool->base.mcif_wb[i] != NULL) { in dcn301_destruct() 1138 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn301_destruct() 1139 pool->base.mcif_wb[i] = NULL; in dcn301_destruct() 1242 pool->mcif_wb[i] = &mcif_wb30->base; in dcn301_mmhubbub_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_resource.c | 1496 if (pool->base.mcif_wb[i] != NULL) { in dcn314_resource_destruct() 1497 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn314_resource_destruct() 1498 pool->base.mcif_wb[i] = NULL; in dcn314_resource_destruct() 1606 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 1468 if (pool->base.mcif_wb[i] != NULL) { in dcn315_resource_destruct() 1469 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn315_resource_destruct() 1470 pool->base.mcif_wb[i] = NULL; in dcn315_resource_destruct() 1578 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 1469 if (pool->base.mcif_wb[i] != NULL) { in dcn316_resource_destruct() 1470 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn316_resource_destruct() 1471 pool->base.mcif_wb[i] = NULL; in dcn316_resource_destruct() 1579 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn321/ |
D | dcn321_resource.c | 1447 if (pool->base.mcif_wb[i] != NULL) { in dcn321_resource_destruct() 1448 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn321_resource_destruct() 1449 pool->base.mcif_wb[i] = NULL; in dcn321_resource_destruct() 1550 pool->mcif_wb[i] = &mcif_wb30->base; in dcn321_mmhubbub_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 765 if (pool->base.mcif_wb[i] != NULL) { in dcn21_resource_destruct() 766 kfree(TO_DCN20_MMHUBBUB(pool->base.mcif_wb[i])); in dcn21_resource_destruct() 767 pool->base.mcif_wb[i] = NULL; in dcn21_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.c | 1470 if (pool->base.mcif_wb[i] != NULL) { in dcn31_resource_destruct() 1471 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn31_resource_destruct() 1472 pool->base.mcif_wb[i] = NULL; in dcn31_resource_destruct() 1580 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hwseq.c | 341 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn201_init_hw()
|