Searched refs:mdp_kms (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/msm/disp/ |
D | mdp_kms.c | 32 static void update_irq(struct mdp_kms *mdp_kms) in update_irq() argument 35 uint32_t irqmask = mdp_kms->vblank_mask; in update_irq() 39 list_for_each_entry(irq, &mdp_kms->irq_list, node) in update_irq() 42 mdp_kms->funcs->set_irqmask(mdp_kms, irqmask, mdp_kms->cur_irq_mask); in update_irq() 43 mdp_kms->cur_irq_mask = irqmask; in update_irq() 49 void mdp_irq_update(struct mdp_kms *mdp_kms) in mdp_irq_update() argument 53 update_irq(mdp_kms); in mdp_irq_update() 57 void mdp_dispatch_irqs(struct mdp_kms *mdp_kms, uint32_t status) in mdp_dispatch_irqs() argument 63 mdp_kms->in_irq = true; in mdp_dispatch_irqs() 64 list_for_each_entry_safe(handler, n, &mdp_kms->irq_list, node) { in mdp_dispatch_irqs() [all …]
|
D | mdp_kms.h | 29 struct mdp_kms; 33 void (*set_irqmask)(struct mdp_kms *mdp_kms, uint32_t irqmask, 37 struct mdp_kms { struct 48 #define to_mdp_kms(x) container_of(x, struct mdp_kms, base) argument 50 static inline void mdp_kms_init(struct mdp_kms *mdp_kms, in mdp_kms_init() argument 53 mdp_kms->funcs = funcs; in mdp_kms_init() 54 INIT_LIST_HEAD(&mdp_kms->irq_list); in mdp_kms_init() 55 msm_kms_init(&mdp_kms->base, &funcs->base); in mdp_kms_init() 75 void mdp_dispatch_irqs(struct mdp_kms *mdp_kms, uint32_t status); 76 void mdp_update_vblank_mask(struct mdp_kms *mdp_kms, uint32_t mask, bool enable); [all …]
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_irq.c | 23 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp4_set_irqmask() argument 26 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_CLEAR, in mdp4_set_irqmask() 28 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_ENABLE, irqmask); in mdp4_set_irqmask() 56 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq_postinstall() local 57 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq_postinstall() 64 mdp_irq_register(mdp_kms, error_handler); in mdp4_irq_postinstall() 79 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq() local 80 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq() 92 mdp_dispatch_irqs(mdp_kms, status); in mdp4_irq()
|
D | mdp4_kms.h | 31 struct mdp_kms base; 169 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_irq.c | 25 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp5_set_irqmask() argument 28 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_CLEAR, in mdp5_set_irqmask() 30 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_EN, irqmask); in mdp5_set_irqmask() 62 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq_postinstall() local 63 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq_postinstall() 74 mdp_irq_register(mdp_kms, error_handler); in mdp5_irq_postinstall() 92 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq() local 93 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq() 105 mdp_dispatch_irqs(mdp_kms, status); in mdp5_irq()
|
D | mdp5_kms.h | 32 struct mdp_kms base; 273 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
|
/Linux-v4.19/drivers/gpu/drm/msm/ |
D | Makefile | 33 disp/mdp_kms.o \
|