2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/gpu/drm/msm
Rob Clark f6a8eaca0e drm/msm/mdp5: use irqdomains
For mdp5, the irqs of hdmi/eDP/dsi0/dsi1 blocks get routed through the
mdp block.  In order to decouple hdmi/eDP/etc, register an irq domain
in mdp5.  When hdmi/dsi/etc are used with mdp4, they can directly setup
their irqs in their DT nodes as normal.  When used with mdp5, instead
set the mdp device as the interrupt-parent, as in:

	mdp: qcom,mdss_mdp@fd900000 {
		compatible = "qcom,mdss_mdp";
		interrupt-controller;
		#interrupt-cells = <1>;
		...
	};

	hdmi: qcom,hdmi_tx@fd922100 {
		compatible = "qcom,hdmi-tx-8074";
		interrupt-parent = <&mdp>;
		interrupts = <8 0>;   /* MDP5_HW_INTR_STATUS.INTR_HDMI */
		...
	};

There is a slight awkwardness, in that we cannot disable child irqs
at the mdp level, they can only be cleared in the child block.  So
you must not use threaded irq handlers in the child.  I'm not sure
if there is a better way to deal with that.

Signed-off-by: Rob Clark <robdclark@gmail.com>
2014-11-21 08:56:18 -05:00
..
adreno drm/msm: a4xx support for msm-drm 2014-11-16 14:27:40 -05:00
dsi drm/msm: update generated headers 2014-11-16 14:22:42 -05:00
hdmi drm/msm/mdp5: use irqdomains 2014-11-21 08:56:18 -05:00
mdp drm/msm/mdp5: use irqdomains 2014-11-21 08:56:18 -05:00
Kconfig drm/msm: select REGULATOR 2014-11-16 14:22:42 -05:00
Makefile drm/msm: a4xx support for msm-drm 2014-11-16 14:27:40 -05:00
msm_atomic.c drm/msm: atomic core bits 2014-11-16 14:27:37 -05:00
msm_drv.c drm/msm: atomic core bits 2014-11-16 14:27:37 -05:00
msm_drv.h drm/msm/mdp5: use irqdomains 2014-11-21 08:56:18 -05:00
msm_fb.c drm/msm: bit of fb error checking 2014-11-16 14:27:37 -05:00
msm_fbdev.c drm/msm: Fix fbdev for 16- and 24-bit modes. 2014-11-16 14:22:43 -05:00
msm_gem_prime.c drm/msm: Allow exported dma-bufs to be mapped 2014-11-16 14:22:43 -05:00
msm_gem_submit.c drm/msm: add rd logging debugfs 2014-06-02 07:36:11 -04:00
msm_gem.c drm/msm: small mmap offset cleanups 2014-11-16 14:27:39 -05:00
msm_gem.h drm/msm: small fence cleanup 2014-11-16 14:27:35 -05:00
msm_gpu.c drm/msm: fix potential deadlock in gpu init 2014-08-04 11:55:29 -04:00
msm_gpu.h drm/msm/adreno: move decision about what gpu to to load 2014-09-10 11:19:08 -04:00
msm_iommu.c drm/msm: avoid flood of kernel logs on faults 2014-08-26 10:43:31 -04:00
msm_kms.h drm/msm/mdp4: drop attached planes table 2014-11-16 14:22:44 -05:00
msm_mmu.h drm/msm: use upstream iommu 2014-08-04 11:55:29 -04:00
msm_perf.c drm/msm: add perf logging debugfs 2014-06-02 07:36:21 -04:00
msm_rd.c drm/msm: add rd logging debugfs 2014-06-02 07:36:11 -04:00
msm_ringbuffer.c drm/msm: add a3xx gpu support 2013-08-24 14:57:18 -04:00
msm_ringbuffer.h drm/msm: add a3xx gpu support 2013-08-24 14:57:18 -04:00
NOTES drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00