]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/msm/hdmi/hdmi.c
drm/msm: basic KMS driver for snapdragon
authorRob Clark <robdclark@gmail.com>
Wed, 26 Jun 2013 16:44:06 +0000 (12:44 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 24 Aug 2013 18:57:07 +0000 (14:57 -0400)
commitc8afe684c95cd17cf4f273d81af369a0fdfa5a74
tree2dd1c87eb2541d4666f3199637f2ca8cd5a49a62
parent0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300
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>
26 files changed:
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/msm/Kconfig [new file with mode: 0644]
drivers/gpu/drm/msm/Makefile [new file with mode: 0644]
drivers/gpu/drm/msm/NOTES [new file with mode: 0644]
drivers/gpu/drm/msm/hdmi/hdmi.c [new file with mode: 0644]
drivers/gpu/drm/msm/hdmi/hdmi.h [new file with mode: 0644]
drivers/gpu/drm/msm/hdmi/hdmi_connector.c [new file with mode: 0644]
drivers/gpu/drm/msm/hdmi/hdmi_i2c.c [new file with mode: 0644]
drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c [new file with mode: 0644]
drivers/gpu/drm/msm/hdmi/hdmi_phy_8x60.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp4/mdp4_crtc.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp4/mdp4_dtv_encoder.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp4/mdp4_format.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp4/mdp4_irq.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp4/mdp4_kms.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp4/mdp4_kms.h [new file with mode: 0644]
drivers/gpu/drm/msm/mdp4/mdp4_plane.c [new file with mode: 0644]
drivers/gpu/drm/msm/msm_connector.c [new file with mode: 0644]
drivers/gpu/drm/msm/msm_connector.h [new file with mode: 0644]
drivers/gpu/drm/msm/msm_drv.c [new file with mode: 0644]
drivers/gpu/drm/msm/msm_drv.h [new file with mode: 0644]
drivers/gpu/drm/msm/msm_fb.c [new file with mode: 0644]
drivers/gpu/drm/msm/msm_fbdev.c [new file with mode: 0644]
drivers/gpu/drm/msm/msm_gem.c [new file with mode: 0644]
drivers/gpu/drm/msm/msm_gem.h [new file with mode: 0644]