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, 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 …]
Dmdp_kms.h29 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 …]
/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
25 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_CLEAR, in mdp4_set_irqmask()
27 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_ENABLE, irqmask); in mdp4_set_irqmask()
46 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq_postinstall() local
47 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq_postinstall()
54 mdp_irq_register(mdp_kms, error_handler); in mdp4_irq_postinstall()
69 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp4_irq() local
70 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq()
82 mdp_dispatch_irqs(mdp_kms, status); in mdp4_irq()
Dmdp4_kms.h29 struct mdp_kms base;
171 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_irq.c23 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp5_set_irqmask() argument
26 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_CLEAR, in mdp5_set_irqmask()
28 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_EN, irqmask); in mdp5_set_irqmask()
47 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq_postinstall() local
48 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq_postinstall()
58 mdp_irq_register(mdp_kms, error_handler); in mdp5_irq_postinstall()
74 struct mdp_kms *mdp_kms = to_mdp_kms(kms); in mdp5_irq() local
75 struct mdp5_kms *mdp5_kms = to_mdp5_kms(mdp_kms); in mdp5_irq()
87 mdp_dispatch_irqs(mdp_kms, status); in mdp5_irq()
Dmdp5_kms.h30 struct mdp_kms base;
187 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
/drivers/gpu/drm/msm/
DMakefile25 mdp/mdp_kms.o \