/Linux-v6.6/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; 159 struct mcif_wb *mcif;
|
/Linux-v6.6/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 | 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,
|
D | dcn20_hwseq.c | 2186 struct mcif_wb *mcif_wb; in dcn20_enable_writeback() local 2192 mcif_wb = dc->res_pool->mcif_wb[wb_info->dwb_pipe_inst]; in dcn20_enable_writeback() 2198 …mcif_wb->funcs->config_mcif_buf(mcif_wb, &wb_info->mcif_buf_params, wb_info->dwb_params.dest_heigh… in dcn20_enable_writeback() 2199 …mcif_wb->funcs->config_mcif_arb(mcif_wb, &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info-… in dcn20_enable_writeback() 2201 mcif_wb->funcs->enable_mcif(mcif_wb); in dcn20_enable_writeback() 2212 struct mcif_wb *mcif_wb; in dcn20_disable_writeback() local 2216 mcif_wb = dc->res_pool->mcif_wb[dwb_pipe_inst]; in dcn20_disable_writeback() 2219 mcif_wb->funcs->disable_mcif(mcif_wb); in dcn20_disable_writeback() 2872 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn20_fpga_init_hw()
|
D | dcn20_resource.c | 1156 if (pool->base.mcif_wb[i] != NULL) { in dcn20_resource_destruct() 1157 kfree(TO_DCN20_MMHUBBUB(pool->base.mcif_wb[i])); in dcn20_resource_destruct() 1158 pool->base.mcif_wb[i] = NULL; in dcn20_resource_destruct() 2275 pool->mcif_wb[i] = &mcif_wb20->base; in dcn20_mmhubbub_create()
|
/Linux-v6.6/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 | 1442 if (pool->base.mcif_wb[i] != NULL) { in dcn32_resource_destruct() 1443 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn32_resource_destruct() 1444 pool->base.mcif_wb[i] = NULL; in dcn32_resource_destruct() 1548 pool->mcif_wb[i] = &mcif_wb30->base; in dcn32_mmhubbub_create()
|
/Linux-v6.6/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 | 1142 if (pool->base.mcif_wb[i] != NULL) { in dcn30_resource_destruct() 1143 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn30_resource_destruct() 1144 pool->base.mcif_wb[i] = NULL; in dcn30_resource_destruct() 1258 pool->mcif_wb[i] = &mcif_wb30->base; in dcn30_mmhubbub_create()
|
D | dcn30_mmhubbub.h | 435 struct mcif_wb base;
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 225 struct mcif_wb *mcif_wb[MAX_DWB_PIPES]; member 408 struct mcif_wb *mcif_wb; member
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 755 pool->mcif_wb[i] = &mcif_wb30->base; in dcn302_mmhubbub_create() 1064 if (pool->mcif_wb[i] != NULL) { in dcn302_resource_destruct() 1065 kfree(TO_DCN30_MMHUBBUB(pool->mcif_wb[i])); in dcn302_resource_destruct() 1066 pool->mcif_wb[i] = NULL; in dcn302_resource_destruct()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 698 pool->mcif_wb[i] = &mcif_wb30->base; in dcn303_mmhubbub_create() 990 if (pool->mcif_wb[i] != NULL) { in dcn303_resource_destruct() 991 kfree(TO_DCN30_MMHUBBUB(pool->mcif_wb[i])); in dcn303_resource_destruct() 992 pool->mcif_wb[i] = NULL; in dcn303_resource_destruct()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 1112 if (pool->base.mcif_wb[i] != NULL) { in dcn301_destruct() 1113 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn301_destruct() 1114 pool->base.mcif_wb[i] = NULL; in dcn301_destruct() 1217 pool->mcif_wb[i] = &mcif_wb30->base; in dcn301_mmhubbub_create()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 1440 if (pool->base.mcif_wb[i] != NULL) { in dcn316_resource_destruct() 1441 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn316_resource_destruct() 1442 pool->base.mcif_wb[i] = NULL; in dcn316_resource_destruct() 1550 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_resource.c | 1514 if (pool->base.mcif_wb[i] != NULL) { in dcn314_resource_destruct() 1515 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn314_resource_destruct() 1516 pool->base.mcif_wb[i] = NULL; in dcn314_resource_destruct() 1627 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 1442 if (pool->base.mcif_wb[i] != NULL) { in dcn315_resource_destruct() 1443 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn315_resource_destruct() 1444 pool->base.mcif_wb[i] = NULL; in dcn315_resource_destruct() 1552 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn321/ |
D | dcn321_resource.c | 1427 if (pool->base.mcif_wb[i] != NULL) { in dcn321_resource_destruct() 1428 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn321_resource_destruct() 1429 pool->base.mcif_wb[i] = NULL; in dcn321_resource_destruct() 1533 pool->mcif_wb[i] = &mcif_wb30->base; in dcn321_mmhubbub_create()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 750 if (pool->base.mcif_wb[i] != NULL) { in dcn21_resource_destruct() 751 kfree(TO_DCN20_MMHUBBUB(pool->base.mcif_wb[i])); in dcn21_resource_destruct() 752 pool->base.mcif_wb[i] = NULL; in dcn21_resource_destruct()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.c | 1442 if (pool->base.mcif_wb[i] != NULL) { in dcn31_resource_destruct() 1443 kfree(TO_DCN30_MMHUBBUB(pool->base.mcif_wb[i])); in dcn31_resource_destruct() 1444 pool->base.mcif_wb[i] = NULL; in dcn31_resource_destruct() 1555 pool->mcif_wb[i] = &mcif_wb30->base; in dcn31_mmhubbub_create()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hwseq.c | 328 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn201_init_hw()
|