2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-09 06:04:05 +08:00
linux-next/drivers/gpu/drm/arm
james qian wang (Arm Technology China) 0dac37bf1c drm/komeda: Add irq handling
1. Added irq_handler/irq_enable/irq_disable to komeda_dev_func, then the
   Komeda-CORE can control the HW irq via these chip function.
2. Install irq and register irq_handler to system by DRM, so once the IRQ
   coming, the handling sequence is:

   komeda_kms_irq_handler(int irq, void *data)
        /* step 1. call into the CHIP to recognize event */
	mdev->funcs->irq_handler(mdev, &evts);

	/* step 2. notify the crtc to handle the events */
	for (i = 0; i < kms->n_crtcs; i++)
		komeda_crtc_handle_event(&kms->crtcs[i], &evts);

v2:
- Move get IRQ number into this change.
- Enable irq before drm_dev_register.

Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
2019-04-01 18:08:26 +01:00
..
display drm/komeda: Add irq handling 2019-04-01 18:08:26 +01:00
hdlcd_crtc.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
hdlcd_drv.c drm/irq: Don't check for DRIVER_HAVE_IRQ in drm_irq_(un)install 2019-01-29 15:45:06 +01:00
hdlcd_drv.h drm/arm/hdlcd: Use drm_fb_cma_fbdev_init/fini() 2018-07-31 16:31:50 +01:00
hdlcd_regs.h
Kconfig drm/komeda: komeda_dev/pipeline/component definition and initialzation 2019-01-14 11:09:23 +00:00
Makefile drm/komeda: komeda_dev/pipeline/component definition and initialzation 2019-01-14 11:09:23 +00:00
malidp_crtc.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
malidp_drv.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
malidp_drv.h drm/malidp: Enable MMU prefetch on Mali-DP650 2018-10-02 11:59:36 +01:00
malidp_hw.c drm: mali-dp: Enable Mali-DP tiled buffer formats 2018-11-02 09:57:27 +00:00
malidp_hw.h drm/arm/malidp: Implemented the size validation for AFBC framebuffers 2018-10-02 12:12:19 +01:00
malidp_mw.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
malidp_mw.h drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_planes.c drm: mali-dp: Enable Mali-DP tiled buffer formats 2018-11-02 09:57:27 +00:00
malidp_regs.h drm/malidp: Enable MMU prefetch on Mali-DP650 2018-10-02 11:59:36 +01:00