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
|
|
|
|
ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
|
|
|
|
ccflags-y += -Werror
|
|
|
|
endif
|
|
|
|
|
|
|
|
msm-y := \
|
2013-07-20 00:59:32 +08:00
|
|
|
adreno/adreno_gpu.o \
|
|
|
|
adreno/a3xx_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-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 \
|
|
|
|
hdmi/hdmi_phy_8960.o \
|
|
|
|
hdmi/hdmi_phy_8x60.o \
|
|
|
|
mdp4/mdp4_crtc.o \
|
|
|
|
mdp4/mdp4_dtv_encoder.o \
|
|
|
|
mdp4/mdp4_format.o \
|
|
|
|
mdp4/mdp4_irq.o \
|
|
|
|
mdp4/mdp4_kms.o \
|
|
|
|
mdp4/mdp4_plane.o \
|
|
|
|
msm_drv.o \
|
|
|
|
msm_fb.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 \
|
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
|
|
|
|
|
|
|
msm-$(CONFIG_DRM_MSM_FBDEV) += msm_fbdev.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_DRM_MSM) += msm.o
|