Skip to content

drm/tegra: Repatriation and DSI support

Thierry Reding dri-devel linux-devicetree linux-tegra 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest27 patches 59 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27drm/tegra: Remove unused fieldsdrivers/gpu/host1x/drm/drm.h+0 -40 replies
2/27drm/tegra: Cleanup tegra_dc structuredrivers/gpu/host1x/drm/drm.h+1 -40 replies
3/27drm/tegra: Rename host1x_drm structure to tegra_drmdrivers/gpu/host1x/dev.c drivers/gpu/host1x/drm/dc.c drivers/gpu/host1x/drm/drm.c +5 more+115 -1160 replies
4/27drm/tegra: Rename host1x_drm_file to tegra_drm_filedrivers/gpu/host1x/drm/drm.c drivers/gpu/host1x/drm/drm.h+15 -150 replies
5/27drm/tegra: Rename host1x_drm_context to tegra_drm_contextdrivers/gpu/host1x/drm/drm.c drivers/gpu/host1x/drm/drm.h drivers/gpu/host1x/drm/gr2d.c+28 -200 replies
6/27gpu: host1x: Cleanup includesdrivers/gpu/host1x/drm/dc.c drivers/gpu/host1x/drm/drm.c drivers/gpu/host1x/drm/fb.c +6 more+2 -512 replies
7/27gpu: host1x: Do not discard .remove()drivers/gpu/host1x/dev.c+3 -40 replies
8/27drm/tegra: gr2d: Miscellaneous cleanupsdrivers/gpu/host1x/drm/gr2d.c+41 -5410 replies
9/27drm/tegra: gem: Miscellaneous cleanupsdrivers/gpu/host1x/drm/gem.c+10 -110 replies
10/27gpu: host1x: Make host1x header file publicMAINTAINERS drivers/gpu/host1x/drm/drm.h drivers/gpu/host1x/drm/gr2d.c +2 more+9 -100 replies
11/27drm/tegra: Introduce tegra_drm_client structuredrivers/gpu/host1x/drm/dc.c drivers/gpu/host1x/drm/drm.c drivers/gpu/host1x/drm/drm.h +3 more+114 -830 replies
12/27gpu: host1x: Expose syncpt and channel functionalitydrivers/gpu/host1x/Makefile drivers/gpu/host1x/cdma.c drivers/gpu/host1x/channel.h +12 more+211 -2560 replies
13/27drm/tegra: Move subdevice infrastructure to host1xdrivers/gpu/host1x/Makefile drivers/gpu/host1x/bus.c drivers/gpu/host1x/bus.h +10 more+700 -3515 replies
14/27drm/tegra: Move driver to DRM treeMAINTAINERS drivers/gpu/drm/Kconfig drivers/gpu/drm/Makefile +18 more+26 -172 replies
15/27gpu: host1x: Add support for Tegra114drivers/gpu/host1x/Makefile drivers/gpu/host1x/dev.c drivers/gpu/host1x/hw/host1x02.c +4 more+620 -16 replies
16/27drm/tegra: Add Tegra114 display controller supportdrivers/gpu/drm/tegra/dc.c drivers/gpu/drm/tegra/drm.c+2 -04 replies
17/27drm/tegra: Add Tegra114 HDMI supportdrivers/gpu/drm/tegra/drm.c drivers/gpu/drm/tegra/hdmi.c drivers/gpu/drm/tegra/hdmi.h+253 -37 replies
18/27drm/tegra: hdmi: Detect DVI-only displaysdrivers/gpu/drm/tegra/hdmi.c+14 -00 replies
19/27host1x: hdmi: Enable VDD earlier for hotplug/DDCdrivers/gpu/drm/tegra/hdmi.c+9 -70 replies
20/27drm/tegra: hdmi: Rename tegra{2,3} to tegra{20,30}drivers/gpu/drm/tegra/hdmi.c+6 -60 replies
21/27drm: Add panel supportdrivers/gpu/drm/Kconfig drivers/gpu/drm/Makefile drivers/gpu/drm/drm_panel.c +2 more+181 -00 replies
22/27drm/panel: Add simple panel supportDocumentation/devicetree/bindings/panel/auo,b101aw03.txt Documentation/devicetree/bindings/panel/chunghwa,claa101wb03.txt Documentation/devicetree/bindings/panel/panasonic,vvx10f004b00.txt +5 more+396 -02 replies
23/27drm/tegra: Implement panel supportdrivers/gpu/drm/tegra/Kconfig drivers/gpu/drm/tegra/drm.h drivers/gpu/drm/tegra/output.c+32 -20 replies
24/27drm/tegra: Start connectors with correct DPMS modedrivers/gpu/drm/tegra/output.c+1 -00 replies
25/27gpu: host1x: Add MIPI pad calibration supportdrivers/gpu/host1x/Makefile drivers/gpu/host1x/dev.c drivers/gpu/host1x/dev.h +2 more+248 -42 replies
26/27drm/tegra: Add DSI supportdrivers/gpu/drm/tegra/Makefile drivers/gpu/drm/tegra/dc.h drivers/gpu/drm/tegra/drm.c +3 more+1044 -17 replies
27/27drm/tegra: Add Tegra114 gr2d supportdrivers/gpu/drm/tegra/drm.c drivers/gpu/drm/tegra/gr2d.c+2 -012 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/27] drm/tegra: Repatriation and DSI support

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
Signature · 1 line
1.8.4