Home
last modified time | relevance | path

Searched refs:mdp_kms (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/msm/mdp/
Dmdp_kms.c32 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); in update_irq()
45 static void update_irq_unlocked(struct mdp_kms *mdp_kms) in update_irq_unlocked() argument
49 update_irq(mdp_kms); in update_irq_unlocked()
53 void mdp_dispatch_irqs(struct mdp_kms *mdp_kms, uint32_t status) in mdp_dispatch_irqs() argument
59 mdp_kms->in_irq = true; in mdp_dispatch_irqs()
60 list_for_each_entry_safe(handler, n, &mdp_kms->irq_list, node) { in mdp_dispatch_irqs()
67 mdp_kms->in_irq = false; in mdp_dispatch_irqs()
[all …]
Dmdp_kms.h29 struct mdp_kms;
33 void (*set_irqmask)(struct mdp_kms *mdp_kms, uint32_t irqmask);
36 struct mdp_kms { struct
46 #define to_mdp_kms(x) container_of(x, struct mdp_kms, base) argument
48 static inline void mdp_kms_init(struct mdp_kms *mdp_kms, in mdp_kms_init() argument
51 mdp_kms->funcs = funcs; in mdp_kms_init()
52 INIT_LIST_HEAD(&mdp_kms->irq_list); in mdp_kms_init()
53 msm_kms_init(&mdp_kms->base, &funcs->base); in mdp_kms_init()
73 void mdp_dispatch_irqs(struct mdp_kms *mdp_kms, uint32_t status);
74 void mdp_update_vblank_mask(struct mdp_kms *mdp_kms, uint32_t mask, bool enable);
[all …]
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_irq.c22 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask) in mdp5_set_irqmask() argument
24 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_EN, irqmask); in mdp5_set_irqmask()
40 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq_postinstall() local
41 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq_postinstall()
50 mdp_irq_register(mdp_kms, error_handler); in mdp5_irq_postinstall()
61 static void mdp5_irq_mdp(struct mdp_kms *mdp_kms) in mdp5_irq_mdp() argument
63 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq_mdp()
74 mdp_dispatch_irqs(mdp_kms, status); in mdp5_irq_mdp()
83 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq() local
84 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq()
[all …]
Dmdp5_kms.h46 struct mdp_kms base;
193 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask);
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_irq.c22 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask) in mdp4_set_irqmask() argument
24 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_ENABLE, irqmask); in mdp4_set_irqmask()
40 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq_postinstall() local
41 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq_postinstall()
48 mdp_irq_register(mdp_kms, error_handler); in mdp4_irq_postinstall()
61 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq() local
62 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq()
73 mdp_dispatch_irqs(mdp_kms, status); in mdp4_irq()
Dmdp4_kms.h29 struct mdp_kms base;
177 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask);
/drivers/gpu/drm/msm/
DMakefile19 mdp/mdp_kms.o \