Searched refs:ctxld (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/ |
D | dcss-ctxld.c | 90 struct dcss_ctxld *ctxld = data; in dcss_ctxld_irq_handler() local 91 struct dcss_dev *dcss = dcss_drv_dev_to_dcss(ctxld->dev); in dcss_ctxld_irq_handler() 94 irq_status = dcss_readl(ctxld->ctxld_reg + DCSS_CTXLD_CONTROL_STATUS); in dcss_ctxld_irq_handler() 97 !(irq_status & CTXLD_ENABLE) && ctxld->in_use) { in dcss_ctxld_irq_handler() 98 ctxld->in_use = false; in dcss_ctxld_irq_handler() 107 dev_err(ctxld->dev, "ctxld: error encountered: %08x\n", in dcss_ctxld_irq_handler() 109 dev_err(ctxld->dev, "ctxld: db=%d, sb_hp=%d, sb_lp=%d\n", in dcss_ctxld_irq_handler() 110 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_DB], in dcss_ctxld_irq_handler() 111 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_HP], in dcss_ctxld_irq_handler() 112 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_LP]); in dcss_ctxld_irq_handler() [all …]
|
D | dcss-dev.h | 68 struct dcss_ctxld *ctxld; member 111 void dcss_ctxld_exit(struct dcss_ctxld *ctxld); 112 void dcss_ctxld_write(struct dcss_ctxld *ctxld, u32 ctx_id, 118 void dcss_ctxld_kick(struct dcss_ctxld *ctxld); 119 bool dcss_ctxld_is_flushed(struct dcss_ctxld *ctxld); 120 int dcss_ctxld_enable(struct dcss_ctxld *ctxld); 121 void dcss_ctxld_register_completion(struct dcss_ctxld *ctxld, 123 void dcss_ctxld_assert_locked(struct dcss_ctxld *ctxld);
|
D | dcss-dev.c | 108 dcss_ctxld_exit(dcss->ctxld); in dcss_submodules_init() 125 dcss_ctxld_exit(dcss->ctxld); in dcss_submodules_stop() 237 dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_destroy() 267 ret = dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_suspend() 291 dcss_ctxld_resume(dcss->ctxld); in dcss_dev_resume() 307 ret = dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_runtime_suspend() 324 dcss_ctxld_resume(dcss->ctxld); in dcss_dev_runtime_resume()
|
D | dcss-ss.c | 67 struct dcss_ctxld *ctxld; member 78 dcss_ctxld_write(ss->ctxld, ss->ctx_id, val, in dcss_ss_write() 92 ss->ctxld = dcss->ctxld; in dcss_ss_init()
|
D | dcss-crtc.c | 76 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_flush() 107 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_enable() 137 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_disable() 171 if (dcss_ctxld_is_flushed(dcss->ctxld)) in dcss_crtc_irq_handler()
|
D | dcss-dtg.c | 79 struct dcss_ctxld *ctxld; member 103 dcss_ctxld_write(dtg->ctxld, dtg->ctx_id, in dcss_dtg_write() 117 dcss_ctxld_kick(dtg->ctxld); in dcss_dtg_irq_handler() 161 dtg->ctxld = dcss->ctxld; in dcss_dtg_init()
|
D | dcss-dpr.c | 115 struct dcss_ctxld *ctxld; member 125 dcss_ctxld_write(dpr->ctxld, dpr->ctx_id, val, ch->base_ofs + ofs); in dcss_dpr_write() 164 dpr->ctxld = dcss->ctxld; in dcss_dpr_init() 532 dcss_ctxld_assert_locked(dpr->ctxld); in dcss_dpr_write_sysctrl() 538 dcss_ctxld_write_irqsafe(dpr->ctxld, dpr->ctx_id, in dcss_dpr_write_sysctrl()
|
D | dcss-scaler.c | 85 struct dcss_ctxld *ctxld; member 274 dcss_ctxld_write(scl->ctxld, scl->ctx_id, val, ch->base_ofs + ofs); in dcss_scaler_write() 310 scaler->ctxld = dcss->ctxld; in dcss_scaler_init() 813 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl() 819 dcss_ctxld_write_irqsafe(scl->ctxld, scl->ctx_id, in dcss_scaler_write_sclctrl()
|
D | Makefile | 1 imx-dcss-objs := dcss-drv.o dcss-dev.o dcss-blkctl.o dcss-ctxld.o dcss-dtg.o \
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 10129 imx-dcss-objs := dcss-drv.o dcss-dev.o dcss-blkctl.o dcss-ctxld.o dcss-dtg.o \ 10522 diff --git a/drivers/gpu/drm/imx/dcss/dcss-ctxld.c b/drivers/gpu/drm/imx/dcss/dcss-ctxld.c 10524 --- a/drivers/gpu/drm/imx/dcss/dcss-ctxld.c 10525 +++ b/drivers/gpu/drm/imx/dcss/dcss-ctxld.c 10526 @@ -267,6 +267,11 @@ static int dcss_ctxld_enable_locked(struct dcss_ctxld *ctxld) 10532 + ctxld->armed = true; 10535 sb_hp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_HP]; 10536 sb_lp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_LP]; 10537 db_cnt = ctxld->ctx_size[curr_ctx][CTX_DB]; 10596 + struct dcss_ctxld *ctxld; [all …]
|