linux/drivers/gpu/drm/msm/mdp/mdp4
Archit Taneja a2b3a5571f drm/msm: Get irq number within kms driver itself
The driver gets the irq number using platform_get_irq on the main kms
platform device. This works fine since both MDP4 and MDP5 currently
have a flat device hierarchy. The platform device tied with the
drm_device points to the MDP DT node in both cases.

This won't work when MDP5 supports a tree-like hierarchy. In this
case, the platform device tied to the top level drm_device is the
MDSS DT node, and the irq we need for KMS is the one generated by
MDP5, not MDSS.

Get the irq number from the MDP4/5 kms driver itself. Each driver
can later provide the irq number based on what device hierarchy it
uses.

While we're at it, call drm_irq_install only when we have a valid KMS
driver.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2016-07-16 10:08:50 -04:00
..
mdp4_crtc.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
mdp4_dsi_encoder.c drm/msm/mdp: removed optional dummy encoder mode_fixup function. 2016-02-16 15:33:21 +01:00
mdp4_dtv_encoder.c drm/msm/mdp4: Clean up some MDP4 clocks 2016-07-16 10:08:45 -04:00
mdp4_irq.c drm/msm: ratelimit error irq msgs 2015-12-14 11:49:52 -05:00
mdp4_kms.c drm/msm: Get irq number within kms driver itself 2016-07-16 10:08:50 -04:00
mdp4_kms.h drm/msm/mdp4: Don't manage DSI PLL regulators in MDP driver 2016-05-08 10:22:18 -04:00
mdp4_lcdc_encoder.c drm/msm/mdp: removed optional dummy encoder mode_fixup function. 2016-02-16 15:33:21 +01:00
mdp4_lvds_connector.c drm: msm: Rely on the default ->best_encoder() behavior where appropriate 2016-06-09 08:43:26 +02:00
mdp4_lvds_pll.c
mdp4_plane.c drm: Pass 'name' to drm_universal_plane_init() 2015-12-11 09:13:10 +01:00
mdp4.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00