dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL v2] MT8173 DRM support
@ 2016-04-26  8:05 Philipp Zabel
  2016-04-26 23:15 ` Dave Airlie
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2016-04-26  8:05 UTC (permalink / raw)
  To: David Airlie; +Cc: Jie Qiu, Cawa Cheng, Matthias Brugger, dri-devel, kernel

Hi Dave,

second try. Please consider pulling this tag with initial MediaTek
MT8173 DRM support, fixed to allow compiling as modules and without the
device tree changes.

regards
Philipp

The following changes since commit 9735a22799b9214d17d3c231fe377fc852f042e9:

  Linux 4.6-rc2 (2016-04-03 09:09:40 -0500)

are available in the git repository at:

  git://git.pengutronix.de/git/pza/linux.git tags/mediatek-drm-2016-04-25

for you to fetch changes up to 72c60efb6d17106e980f3449abd4cc826a45460d:

  clk: mediatek: remove hdmitx_dig_cts from TOP clocks (2016-04-22 09:33:54 +0200)

----------------------------------------------------------------
MT8173 DRM support

- device tree binding documentation for all MT8173 display
  subsystem components
- basic mediatek drm driver for MT8173 with two optional,
  currently fixed output paths:
- DSI encoder support for DSI and (via bridge) eDP panels
- DPI encoder support for output to HDMI bridge
- necessary clock tree changes for the DPI->HDMI path

----------------------------------------------------------------
CK Hu (3):
      dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding
      drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.
      drm/mediatek: Add DSI sub driver

Jie Qiu (1):
      drm/mediatek: Add DPI sub driver

Philipp Zabel (3):
      clk: mediatek: make dpi0_sel propagate rate changes
      clk: mediatek: Add hdmi_ref HDMI PHY PLL reference clock output
      clk: mediatek: remove hdmitx_dig_cts from TOP clocks

 .../bindings/display/mediatek/mediatek,disp.txt    | 203 +++++
 .../bindings/display/mediatek/mediatek,dpi.txt     |  35 +
 .../bindings/display/mediatek/mediatek,dsi.txt     |  60 ++
 drivers/clk/mediatek/clk-mt8173.c                  |  12 +-
 drivers/clk/mediatek/clk-mtk.h                     |  15 +-
 drivers/gpu/drm/Kconfig                            |   2 +
 drivers/gpu/drm/Makefile                           |   1 +
 drivers/gpu/drm/mediatek/Kconfig                   |  14 +
 drivers/gpu/drm/mediatek/Makefile                  |  14 +
 drivers/gpu/drm/mediatek/mtk_disp_ovl.c            | 302 +++++++
 drivers/gpu/drm/mediatek/mtk_disp_rdma.c           | 240 ++++++
 drivers/gpu/drm/mediatek/mtk_dpi.c                 | 769 +++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_dpi_regs.h            | 228 +++++
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c            | 582 +++++++++++++
 drivers/gpu/drm/mediatek/mtk_drm_crtc.h            |  32 +
 drivers/gpu/drm/mediatek/mtk_drm_ddp.c             | 353 ++++++++
 drivers/gpu/drm/mediatek/mtk_drm_ddp.h             |  41 +
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c        | 225 +++++
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h        | 150 ++++
 drivers/gpu/drm/mediatek/mtk_drm_drv.c             | 568 +++++++++++++
 drivers/gpu/drm/mediatek/mtk_drm_drv.h             |  60 ++
 drivers/gpu/drm/mediatek/mtk_drm_fb.c              | 165 ++++
 drivers/gpu/drm/mediatek/mtk_drm_fb.h              |  23 +
 drivers/gpu/drm/mediatek/mtk_drm_gem.c             | 269 ++++++
 drivers/gpu/drm/mediatek/mtk_drm_gem.h             |  59 ++
 drivers/gpu/drm/mediatek/mtk_drm_plane.c           | 240 ++++++
 drivers/gpu/drm/mediatek/mtk_drm_plane.h           |  59 ++
 drivers/gpu/drm/mediatek/mtk_dsi.c                 | 927 +++++++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_mipi_tx.c             | 463 ++++++++++
 include/dt-bindings/clock/mt8173-clk.h             |   3 +-
 30 files changed, 6109 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt
 create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt
 create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.txt
 create mode 100644 drivers/gpu/drm/mediatek/Kconfig
 create mode 100644 drivers/gpu/drm/mediatek/Makefile
 create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_ovl.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_rdma.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_dpi.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_dpi_regs.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_crtc.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_crtc.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_drv.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_drv.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_fb.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_fb.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_gem.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_gem.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_plane.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_drm_plane.h
 create mode 100644 drivers/gpu/drm/mediatek/mtk_dsi.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_mipi_tx.c
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL v2] MT8173 DRM support
  2016-04-26  8:05 [GIT PULL v2] MT8173 DRM support Philipp Zabel
@ 2016-04-26 23:15 ` Dave Airlie
  2016-04-27 10:42   ` Philipp Zabel
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Airlie @ 2016-04-26 23:15 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Jie Qiu, Cawa Cheng, dri-devel, Sascha Hauer, Matthias Brugger

On 26 April 2016 at 18:05, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> Hi Dave,
>
> second try. Please consider pulling this tag with initial MediaTek
> MT8173 DRM support, fixed to allow compiling as modules and without the
> device tree changes.

 LZMA    arch/arm/boot/compressed/piggy_data
  MODPOST 1742 modules
ERROR: "mtk_smi_larb_put" [drivers/gpu/drm/mediatek/mediatek-drm.ko] undefined!
ERROR: "mtk_smi_larb_get" [drivers/gpu/drm/mediatek/mediatek-drm.ko] undefined!
ERROR: "__aeabi_uldivmod" [drivers/gpu/drm/mediatek/mediatek-drm.ko] undefined!
/home/airlied/devel/kernel/drm-next/scripts/Makefile.modpost:91:
recipe for target '__modpost' failed

The first two are missing symbol exports, it may be due to my config,
the last looks like
somewhere should be using do_div or one of the other div helpers.
possibly in mtk_mipi_tx.c where it does a 64-bit divide.

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL v2] MT8173 DRM support
  2016-04-26 23:15 ` Dave Airlie
@ 2016-04-27 10:42   ` Philipp Zabel
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2016-04-27 10:42 UTC (permalink / raw)
  To: Dave Airlie
  Cc: Jie Qiu, Cawa Cheng, dri-devel, Sascha Hauer, Matthias Brugger

Am Mittwoch, den 27.04.2016, 09:15 +1000 schrieb Dave Airlie:
> On 26 April 2016 at 18:05, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> > Hi Dave,
> >
> > second try. Please consider pulling this tag with initial MediaTek
> > MT8173 DRM support, fixed to allow compiling as modules and without the
> > device tree changes.
> 
>  LZMA    arch/arm/boot/compressed/piggy_data
>   MODPOST 1742 modules
> ERROR: "mtk_smi_larb_put" [drivers/gpu/drm/mediatek/mediatek-drm.ko] undefined!
> ERROR: "mtk_smi_larb_get" [drivers/gpu/drm/mediatek/mediatek-drm.ko] undefined!
> ERROR: "__aeabi_uldivmod" [drivers/gpu/drm/mediatek/mediatek-drm.ko] undefined!
> /home/airlied/devel/kernel/drm-next/scripts/Makefile.modpost:91:
> recipe for target '__modpost' failed
> 
> The first two are missing symbol exports, it may be due to my config,
> the last looks like
> somewhere should be using do_div or one of the other div helpers.
> possibly in mtk_mipi_tx.c where it does a 64-bit divide.

I've sent a mtk_smi patch to export the missing functions and will
respin the patch series as v15 with the division in mtk_mipi_tx fixed
and Daniel's comments addressed.

regards
Philipp

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-27 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26  8:05 [GIT PULL v2] MT8173 DRM support Philipp Zabel
2016-04-26 23:15 ` Dave Airlie
2016-04-27 10:42   ` Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox