drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm
|
2015-08-14 05:45:52 +08:00
|
|
|
ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
|
|
|
|
msm-y := \
|
2014-09-06 01:06:37 +08:00
|
|
|
adreno/adreno_device.o \
|
2013-07-20 00:59:32 +08:00
|
|
|
adreno/adreno_gpu.o \
|
|
|
|
adreno/a3xx_gpu.o \
|
2014-09-09 03:40:16 +08:00
|
|
|
adreno/a4xx_gpu.o \
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
hdmi/hdmi.o \
|
2013-12-12 03:44:02 +08:00
|
|
|
hdmi/hdmi_audio.o \
|
2013-08-31 01:02:15 +08:00
|
|
|
hdmi/hdmi_bridge.o \
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
hdmi/hdmi_connector.o \
|
|
|
|
hdmi/hdmi_i2c.o \
|
2016-02-25 13:52:38 +08:00
|
|
|
hdmi/hdmi_phy.o \
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
hdmi/hdmi_phy_8960.o \
|
|
|
|
hdmi/hdmi_phy_8x60.o \
|
2013-12-02 01:12:54 +08:00
|
|
|
hdmi/hdmi_phy_8x74.o \
|
2015-01-08 07:47:44 +08:00
|
|
|
edp/edp.o \
|
|
|
|
edp/edp_aux.o \
|
|
|
|
edp/edp_bridge.o \
|
|
|
|
edp/edp_connector.o \
|
|
|
|
edp/edp_ctrl.o \
|
|
|
|
edp/edp_phy.o \
|
2013-12-01 03:58:23 +08:00
|
|
|
mdp/mdp_format.o \
|
2013-12-01 06:24:22 +08:00
|
|
|
mdp/mdp_kms.o \
|
2013-12-01 01:37:42 +08:00
|
|
|
mdp/mdp4/mdp4_crtc.o \
|
|
|
|
mdp/mdp4/mdp4_dtv_encoder.o \
|
2014-08-02 01:08:11 +08:00
|
|
|
mdp/mdp4/mdp4_lcdc_encoder.o \
|
|
|
|
mdp/mdp4/mdp4_lvds_connector.o \
|
2013-12-01 01:37:42 +08:00
|
|
|
mdp/mdp4/mdp4_irq.o \
|
|
|
|
mdp/mdp4/mdp4_kms.o \
|
|
|
|
mdp/mdp4/mdp4_plane.o \
|
2014-11-19 01:49:48 +08:00
|
|
|
mdp/mdp5/mdp5_cfg.o \
|
2014-11-19 01:49:49 +08:00
|
|
|
mdp/mdp5/mdp5_ctl.o \
|
drm/msm: add mdp5/apq8x74
Add support for the new MDP5 display controller block. The mapping
between parts of the display controller and KMS is:
plane -> PIPE{RGBn,VIGn} \
crtc -> LM (layer mixer) |-> MDP "device"
encoder -> INTF /
connector -> HDMI/DSI/eDP/etc --> other device(s)
Unlike MDP4, it appears we can get by with a single encoder, rather
than needing a different implementation for DTV, DSI, etc. (Ie. the
register interface is same, just different bases.)
Also unlike MDP4, all the IRQs for other blocks (HDMI, DSI, etc) are
routed through MDP.
And finally, MDP5 has this "Shared Memory Pool" (called "SMP"), from
which blocks need to be allocated to the active pipes based on fetch
stride.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-12-01 06:51:47 +08:00
|
|
|
mdp/mdp5/mdp5_crtc.o \
|
|
|
|
mdp/mdp5/mdp5_encoder.o \
|
|
|
|
mdp/mdp5/mdp5_irq.o \
|
|
|
|
mdp/mdp5/mdp5_kms.o \
|
|
|
|
mdp/mdp5/mdp5_plane.o \
|
|
|
|
mdp/mdp5/mdp5_smp.o \
|
2014-11-09 02:21:06 +08:00
|
|
|
msm_atomic.o \
|
2016-03-17 00:56:12 +08:00
|
|
|
msm_debugfs.o \
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
msm_drv.o \
|
|
|
|
msm_fb.o \
|
2016-03-16 03:35:08 +08:00
|
|
|
msm_fence.o \
|
2013-07-20 00:59:32 +08:00
|
|
|
msm_gem.o \
|
2013-09-28 23:28:35 +08:00
|
|
|
msm_gem_prime.o \
|
2013-07-20 00:59:32 +08:00
|
|
|
msm_gem_submit.o \
|
|
|
|
msm_gpu.o \
|
2013-11-17 01:56:06 +08:00
|
|
|
msm_iommu.o \
|
2014-05-31 02:49:43 +08:00
|
|
|
msm_perf.o \
|
2014-05-31 02:47:38 +08:00
|
|
|
msm_rd.o \
|
2013-07-20 00:59:32 +08:00
|
|
|
msm_ringbuffer.o
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
|
2015-07-13 14:42:07 +08:00
|
|
|
msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
|
2014-08-02 01:08:11 +08:00
|
|
|
msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
|
2016-02-25 13:52:39 +08:00
|
|
|
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o
|
2016-02-25 13:52:44 +08:00
|
|
|
msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_phy_8996.o
|
2015-05-16 01:04:04 +08:00
|
|
|
|
2016-03-20 22:16:29 +08:00
|
|
|
msm-$(CONFIG_DRM_MSM_HDMI_HDCP) += hdmi/hdmi_hdcp.o
|
|
|
|
|
2015-04-01 02:36:33 +08:00
|
|
|
msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
|
2015-10-19 14:57:11 +08:00
|
|
|
mdp/mdp4/mdp4_dsi_encoder.o \
|
2015-08-14 05:49:29 +08:00
|
|
|
dsi/dsi_cfg.o \
|
2015-04-01 02:36:33 +08:00
|
|
|
dsi/dsi_host.o \
|
|
|
|
dsi/dsi_manager.o \
|
2015-08-14 05:45:52 +08:00
|
|
|
dsi/phy/dsi_phy.o \
|
2015-03-27 07:25:17 +08:00
|
|
|
mdp/mdp5/mdp5_cmd_encoder.o
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
|
2015-08-14 05:45:53 +08:00
|
|
|
msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o
|
|
|
|
msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o
|
2015-10-14 14:30:34 +08:00
|
|
|
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o
|
2015-08-14 05:45:53 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y)
|
|
|
|
msm-y += dsi/pll/dsi_pll.o
|
|
|
|
msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o
|
2015-10-14 14:33:44 +08:00
|
|
|
msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/pll/dsi_pll_28nm_8960.o
|
2015-08-14 05:45:53 +08:00
|
|
|
endif
|
2015-05-16 01:04:04 +08:00
|
|
|
|
drm/msm: basic KMS driver for snapdragon
The snapdragon chips have multiple different display controllers,
depending on which chip variant/version. (As far as I can tell, current
devices have either MDP3 or MDP4, and upcoming devices have MDSS.) And
then external to the display controller are HDMI, DSI, etc. blocks which
may be shared across devices which have different display controller
blocks.
To more easily add support for different display controller blocks, the
display controller specific bits are split out into a "kms" module,
which provides the kms plane/crtc/encoder objects.
The external HDMI, DSI, etc. blocks are part encoder, and part connector
currently. But I think I will pull in the drm_bridge patches from
chromeos tree, and split them into a bridge+connector, with the
registers that need to be set in modeset handled by the bridge. This
would remove the 'msm_connector' base class. But some things need to be
double checked to make sure I could get the correct ON/OFF sequencing..
This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
(part of MDP4 block), and hdmi.
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-06-27 00:44:06 +08:00
|
|
|
obj-$(CONFIG_DRM_MSM) += msm.o
|