devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/27] drm/tegra: Repatriation and DSI support
@ 2013-10-07  8:34 Thierry Reding
       [not found] ` <1381134884-5816-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 87+ messages in thread
From: Thierry Reding @ 2013-10-07  8:34 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA

This series of patches moves the Tegra DRM driver back to drivers/gpu/drm
where it belongs. While this is not entirely trivial, decoupling it from the
host1x driver will make things easier in the long run.

Patches 1 to 14 are mostly cleanup and decoupling from host1x. After those
patches, the DRM specific parts are back in drivers/gpu/drm/tegra in which
they originated and all host1x support code that they use is exported by the
host1x driver and exposed in the include/linux/host1x.h header file.

The larger part of patches 15 to 20 have been contributed by Mikko Perttunen
and add support for HDMI on Tegra114.

Patches 21 to 23 are the panel support patches, addressing comments that I
received on an earlier version.

Patch 24 fixes an issue with the DPMS mode tracking. Connectors default to
off on Tegra, so the initial DPMS mode needs to reflect that.

Patches 25 and 27 add support for DSI and gr2d on Tegra114.

Thierry

Mikko Perttunen (4):
  drm/tegra: Add Tegra114 display controller support
  drm/tegra: Add Tegra114 HDMI support
  drm/tegra: hdmi: Detect DVI-only displays
  host1x: hdmi: Enable VDD earlier for hotplug/DDC

Thierry Reding (23):
  drm/tegra: Remove unused fields
  drm/tegra: Cleanup tegra_dc structure
  drm/tegra: Rename host1x_drm structure to tegra_drm
  drm/tegra: Rename host1x_drm_file to tegra_drm_file
  drm/tegra: Rename host1x_drm_context to tegra_drm_context
  gpu: host1x: Cleanup includes
  gpu: host1x: Do not discard .remove()
  drm/tegra: gr2d: Miscellaneous cleanups
  drm/tegra: gem: Miscellaneous cleanups
  gpu: host1x: Make host1x header file public
  drm/tegra: Introduce tegra_drm_client structure
  gpu: host1x: Expose syncpt and channel functionality
  drm/tegra: Move subdevice infrastructure to host1x
  drm/tegra: Move driver to DRM tree
  gpu: host1x: Add support for Tegra114
  drm/tegra: hdmi: Rename tegra{2,3} to tegra{20,30}
  drm: Add panel support
  drm/panel: Add simple panel support
  drm/tegra: Implement panel support
  drm/tegra: Start connectors with correct DPMS mode
  gpu: host1x: Add MIPI pad calibration support
  drm/tegra: Add DSI support
  drm/tegra: Add Tegra114 gr2d support

 .../devicetree/bindings/panel/auo,b101aw03.txt     |    7 +
 .../bindings/panel/chunghwa,claa101wb03.txt        |    7 +
 .../bindings/panel/panasonic,vvx10f004b00.txt      |    7 +
 .../devicetree/bindings/panel/simple-panel.txt     |   21 +
 MAINTAINERS                                        |    2 +
 drivers/gpu/drm/Kconfig                            |    4 +
 drivers/gpu/drm/Makefile                           |    3 +
 drivers/gpu/drm/drm_panel.c                        |   96 ++
 drivers/gpu/drm/panel/Kconfig                      |   17 +
 drivers/gpu/drm/panel/Makefile                     |    1 +
 drivers/gpu/drm/panel/panel-simple.c               |  339 +++++++
 drivers/gpu/{host1x/drm => drm/tegra}/Kconfig      |   11 +-
 drivers/gpu/drm/tegra/Makefile                     |   16 +
 drivers/gpu/drm/tegra/bus.c                        |  123 +++
 drivers/gpu/{host1x/drm => drm/tegra}/dc.c         |   34 +-
 drivers/gpu/{host1x/drm => drm/tegra}/dc.h         |    1 +
 drivers/gpu/{host1x/drm => drm/tegra}/drm.c        |  441 ++++-----
 drivers/gpu/{host1x/drm => drm/tegra}/drm.h        |   92 +-
 drivers/gpu/drm/tegra/dsi.c                        | 1026 ++++++++++++++++++++
 drivers/gpu/{host1x/drm => drm/tegra}/fb.c         |   16 +-
 drivers/gpu/{host1x/drm => drm/tegra}/gem.c        |   30 +-
 drivers/gpu/{host1x/drm => drm/tegra}/gem.h        |    4 +-
 drivers/gpu/{host1x/drm => drm/tegra}/gr2d.c       |  176 ++--
 drivers/gpu/{host1x/drm => drm/tegra}/hdmi.c       |  177 +++-
 drivers/gpu/{host1x/drm => drm/tegra}/hdmi.h       |  152 +++
 drivers/gpu/{host1x/drm => drm/tegra}/output.c     |   40 +-
 drivers/gpu/{host1x/drm => drm/tegra}/rgb.c        |    3 -
 drivers/gpu/host1x/Kconfig                         |    2 -
 drivers/gpu/host1x/Makefile                        |   14 +-
 drivers/gpu/host1x/bus.c                           |  309 ++++++
 drivers/gpu/host1x/{host1x_client.h => bus.h}      |   24 +-
 drivers/gpu/host1x/cdma.c                          |    2 +-
 drivers/gpu/host1x/channel.h                       |    6 -
 drivers/gpu/host1x/dev.c                           |   73 +-
 drivers/gpu/host1x/dev.h                           |    9 +-
 drivers/gpu/host1x/host1x.h                        |   30 -
 drivers/gpu/host1x/host1x_bo.h                     |   87 --
 drivers/gpu/host1x/hw/channel_hw.c                 |    4 +-
 drivers/gpu/host1x/hw/debug_hw.c                   |    8 -
 drivers/gpu/host1x/hw/host1x02.c                   |   42 +
 drivers/gpu/host1x/hw/host1x02.h                   |   26 +
 drivers/gpu/host1x/hw/hw_host1x02_channel.h        |  121 +++
 drivers/gpu/host1x/hw/hw_host1x02_sync.h           |  243 +++++
 drivers/gpu/host1x/hw/hw_host1x02_uclass.h         |  175 ++++
 drivers/gpu/host1x/job.c                           |    2 +-
 drivers/gpu/host1x/job.h                           |  108 ---
 drivers/gpu/host1x/mipi.c                          |  230 +++++
 drivers/gpu/host1x/syncpt.c                        |   19 +
 drivers/gpu/host1x/syncpt.h                        |   40 +-
 drivers/video/Kconfig                              |    4 +-
 include/drm/drmP.h                                 |    1 +
 include/drm/drm_panel.h                            |   78 ++
 include/linux/host1x.h                             |  278 ++++++
 53 files changed, 3922 insertions(+), 859 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/panel/auo,b101aw03.txt
 create mode 100644 Documentation/devicetree/bindings/panel/chunghwa,claa101wb03.txt
 create mode 100644 Documentation/devicetree/bindings/panel/panasonic,vvx10f004b00.txt
 create mode 100644 Documentation/devicetree/bindings/panel/simple-panel.txt
 create mode 100644 drivers/gpu/drm/drm_panel.c
 create mode 100644 drivers/gpu/drm/panel/Kconfig
 create mode 100644 drivers/gpu/drm/panel/Makefile
 create mode 100644 drivers/gpu/drm/panel/panel-simple.c
 rename drivers/gpu/{host1x/drm => drm/tegra}/Kconfig (97%)
 create mode 100644 drivers/gpu/drm/tegra/Makefile
 create mode 100644 drivers/gpu/drm/tegra/bus.c
 rename drivers/gpu/{host1x/drm => drm/tegra}/dc.c (97%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/dc.h (99%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/drm.c (56%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/drm.h (78%)
 create mode 100644 drivers/gpu/drm/tegra/dsi.c
 rename drivers/gpu/{host1x/drm => drm/tegra}/fb.c (96%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/gem.c (89%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/gem.h (98%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/gr2d.c (68%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/hdmi.c (86%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/hdmi.h (72%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/output.c (87%)
 rename drivers/gpu/{host1x/drm => drm/tegra}/rgb.c (98%)
 create mode 100644 drivers/gpu/host1x/bus.c
 rename drivers/gpu/host1x/{host1x_client.h => bus.h} (60%)
 delete mode 100644 drivers/gpu/host1x/host1x.h
 delete mode 100644 drivers/gpu/host1x/host1x_bo.h
 create mode 100644 drivers/gpu/host1x/hw/host1x02.c
 create mode 100644 drivers/gpu/host1x/hw/host1x02.h
 create mode 100644 drivers/gpu/host1x/hw/hw_host1x02_channel.h
 create mode 100644 drivers/gpu/host1x/hw/hw_host1x02_sync.h
 create mode 100644 drivers/gpu/host1x/hw/hw_host1x02_uclass.h
 create mode 100644 drivers/gpu/host1x/mipi.c
 create mode 100644 include/drm/drm_panel.h
 create mode 100644 include/linux/host1x.h

-- 
1.8.4

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

end of thread, other threads:[~2013-11-04 16:08 UTC | newest]

Thread overview: 87+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07  8:34 [PATCH v2 00/27] drm/tegra: Repatriation and DSI support Thierry Reding
     [not found] ` <1381134884-5816-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07  8:34   ` [PATCH v2 01/27] drm/tegra: Remove unused fields Thierry Reding
2013-10-07  8:34   ` [PATCH v2 02/27] drm/tegra: Cleanup tegra_dc structure Thierry Reding
2013-10-07  8:34   ` [PATCH v2 03/27] drm/tegra: Rename host1x_drm structure to tegra_drm Thierry Reding
2013-10-07  8:34   ` [PATCH v2 04/27] drm/tegra: Rename host1x_drm_file to tegra_drm_file Thierry Reding
2013-10-07  8:34   ` [PATCH v2 05/27] drm/tegra: Rename host1x_drm_context to tegra_drm_context Thierry Reding
2013-10-07  8:34   ` [PATCH v2 06/27] gpu: host1x: Cleanup includes Thierry Reding
     [not found]     ` <1381134884-5816-7-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-08  5:59       ` Terje Bergström
     [not found]         ` <52539F5E.1060005-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-08  9:45           ` Thierry Reding
2013-10-07  8:34   ` [PATCH v2 07/27] gpu: host1x: Do not discard .remove() Thierry Reding
2013-10-07  8:34   ` [PATCH v2 08/27] drm/tegra: gr2d: Miscellaneous cleanups Thierry Reding
     [not found]     ` <1381134884-5816-9-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 11:34       ` Erik Faye-Lund
     [not found]         ` <CABPQNSbkS40_jyGz14s08+x3e+-pxnfy90V7pzAOfiqUF2ma2g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-07 12:14           ` Thierry Reding
     [not found]             ` <20131007121452.GA8324-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-07 12:52               ` Terje Bergström
     [not found]                 ` <5252AE8C.9090609-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 13:05                   ` Erik Faye-Lund
     [not found]                     ` <CABPQNSa59hBU__yjQMZsdEghpSwH1ayJYiD6HrBrhABicgzxuA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-08  5:36                       ` Terje Bergström
2013-10-07 13:13                   ` Thierry Reding
2013-10-07 12:53               ` Erik Faye-Lund
     [not found]                 ` <CABPQNSb52HmS-2T=MUXteMFc1tndHdvtUnZqsVsPKjP1Dy6Esw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-07 13:02                   ` Erik Faye-Lund
     [not found]                     ` <CABPQNSZGyuS3wAvJ8fFj=LMXxFJz9x_sKqEWW7QbiqC1gneLKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-08  5:48                       ` Terje Bergström
     [not found]                         ` <52539CC0.3020901-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-08 11:11                           ` Erik Faye-Lund
2013-10-07  8:34   ` [PATCH v2 09/27] drm/tegra: gem: " Thierry Reding
2013-10-07  8:34   ` [PATCH v2 10/27] gpu: host1x: Make host1x header file public Thierry Reding
2013-10-07  8:34   ` [PATCH v2 11/27] drm/tegra: Introduce tegra_drm_client structure Thierry Reding
2013-10-07  8:34   ` [PATCH v2 12/27] gpu: host1x: Expose syncpt and channel functionality Thierry Reding
2013-10-07  8:34   ` [PATCH v2 13/27] drm/tegra: Move subdevice infrastructure to host1x Thierry Reding
     [not found]     ` <1381134884-5816-14-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-08  6:25       ` Terje Bergström
     [not found]         ` <5253A563.1060409-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-08  9:52           ` Thierry Reding
2013-11-04 10:20       ` Daniel Vetter
     [not found]         ` <20131104102054.GD4167-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2013-11-04 11:06           ` Thierry Reding
     [not found]             ` <20131104110655.GN27445-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-11-04 16:08               ` Daniel Vetter
2013-10-07  8:34   ` [PATCH v2 14/27] drm/tegra: Move driver to DRM tree Thierry Reding
     [not found]     ` <1381134884-5816-15-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:11       ` Stephen Warren
     [not found]         ` <52587797.7000402-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-12 11:16           ` Thierry Reding
2013-10-07  8:34   ` [PATCH v2 15/27] gpu: host1x: Add support for Tegra114 Thierry Reding
     [not found]     ` <1381134884-5816-16-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:13       ` Stephen Warren
     [not found]         ` <525877F3.9070004-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-12 11:24           ` Thierry Reding
2013-10-14  5:30             ` Terje Bergström
     [not found]               ` <525B8174.4000907-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-15  8:05                 ` Thierry Reding
2013-10-14 18:07             ` Stephen Warren
     [not found]               ` <525C32E5.2020406-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-15  8:03                 ` Thierry Reding
2013-10-07  8:34   ` [PATCH v2 16/27] drm/tegra: Add Tegra114 display controller support Thierry Reding
     [not found]     ` <1381134884-5816-17-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:14       ` Stephen Warren
     [not found]         ` <52587843.9070806-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-12 11:32           ` Thierry Reding
2013-10-14 18:05             ` Stephen Warren
     [not found]               ` <525C325E.2090700-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-15  8:06                 ` Thierry Reding
2013-10-07  8:34   ` [PATCH v2 17/27] drm/tegra: Add Tegra114 HDMI support Thierry Reding
     [not found]     ` <1381134884-5816-18-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:19       ` Stephen Warren
     [not found]         ` <52587967.6050806-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-11 22:22           ` Stephen Warren
     [not found]             ` <52587A16.7050200-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-12 11:35               ` Thierry Reding
2013-10-12 11:41           ` Thierry Reding
2013-10-14 18:10             ` Stephen Warren
     [not found]               ` <525C338D.50801-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-15  8:13                 ` Thierry Reding
     [not found]                   ` <20131015081318.GG7856-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-15 15:17                     ` Stephen Warren
2013-10-07  8:34   ` [PATCH v2 18/27] drm/tegra: hdmi: Detect DVI-only displays Thierry Reding
2013-10-07  8:34   ` [PATCH v2 19/27] host1x: hdmi: Enable VDD earlier for hotplug/DDC Thierry Reding
2013-10-07  8:34   ` [PATCH v2 20/27] drm/tegra: hdmi: Rename tegra{2,3} to tegra{20,30} Thierry Reding
2013-10-07  8:34   ` [PATCH v2 21/27] drm: Add panel support Thierry Reding
2013-10-07  8:34   ` [PATCH v2 22/27] drm/panel: Add simple " Thierry Reding
     [not found]     ` <1381134884-5816-23-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:33       ` Stephen Warren
     [not found]         ` <52587CBD.8010304-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-14 14:10           ` Thierry Reding
2013-10-07  8:34   ` [PATCH v2 23/27] drm/tegra: Implement " Thierry Reding
2013-10-07  8:34   ` [PATCH v2 24/27] drm/tegra: Start connectors with correct DPMS mode Thierry Reding
2013-10-07  8:34   ` [PATCH v2 25/27] gpu: host1x: Add MIPI pad calibration support Thierry Reding
     [not found]     ` <1381134884-5816-26-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:37       ` Stephen Warren
     [not found]         ` <52587DAF.9080003-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-14 13:44           ` Thierry Reding
2013-10-07  8:34   ` [PATCH v2 26/27] drm/tegra: Add DSI support Thierry Reding
     [not found]     ` <1381134884-5816-27-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:43       ` Stephen Warren
     [not found]         ` <52587F17.7060104-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-14 13:55           ` Thierry Reding
     [not found]             ` <20131014135548.GB16302-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-14 18:16               ` Stephen Warren
     [not found]                 ` <525C3510.60802-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-15  8:33                   ` Thierry Reding
     [not found]                     ` <20131015083342.GH7856-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-15 17:21                       ` Stephen Warren
     [not found]                         ` <525D7983.6010001-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-16  8:40                           ` Thierry Reding
     [not found]                             ` <20131016084031.GB21963-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-16 16:58                               ` Stephen Warren
2013-10-07  8:34   ` [PATCH v2 27/27] drm/tegra: Add Tegra114 gr2d support Thierry Reding
     [not found]     ` <1381134884-5816-28-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-11 22:43       ` Stephen Warren
     [not found]         ` <52587F2D.9070007-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-14  5:58           ` Terje Bergström
     [not found]             ` <525B880A.7090802-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-14 14:00               ` Thierry Reding
     [not found]                 ` <20131014140010.GC16302-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-14 18:14                   ` Stephen Warren
     [not found]                     ` <525C3497.6010700-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-15  5:51                       ` Terje Bergström
     [not found]                         ` <525CD7F3.10907-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-15 15:12                           ` Stephen Warren
2013-10-15  8:37                       ` Thierry Reding
     [not found]                         ` <20131015083731.GI7856-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-15 15:19                           ` Stephen Warren
     [not found]                             ` <525D5CF6.3020600-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-16  8:48                               ` Thierry Reding
     [not found]                                 ` <20131016084804.GC21963-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-16 12:05                                   ` Terje Bergström
2013-10-16 17:00                                   ` Stephen Warren
2013-10-14 18:13               ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).