drm/tegra: Changes for v5.20-rc1
Hi Dave, Daniel,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
https://gitlab.freedesktop.org/drm/tegra.git tags/drm/tegra/for-5.20-rc1
for you to fetch changes up to 135f4c551d51065ee2d0677bf5344a89767e9d9b:
drm/tegra: vic: Use devm_platform_ioremap_resource() (2022-07-08 17:54:42 +0200)
Thanks,
Thierry
----------------------------------------------------------------
drm/tegra: Changes for v5.20-rc1
The bulk of these changes adds support for context isolation for the various supported host1x engines, as well as support for the hardware found on the new Tegra234 SoC generation.
There's also a couple of fixes and cleanups. To round things off, the device tree bindings are converted to the new json-schema format that allows DTBs to be validated.
----------------------------------------------------------------
Christophe JAILLET (1):
gpu: host1x: Use the bitmap API to allocate bitmaps
Dmitry Osipenko (1):
drm/tegra: Fix vmapping of prime buffers
Lukas Bulwahn (1):
MAINTAINERS: Rectify entry for NVIDIA TEGRA DRM and VIDEO DRIVER
Lv Ruyi (1):
drm/tegra: vic: Use devm_platform_ioremap_resource()
Mikko Perttunen (21):
dt-bindings: host1x: Add iommu-map property
dt-bindings: Add bindings for Tegra234 Host1x and VIC
dt-bindings: host1x: Fix bracketing in example
gpu: host1x: Add context device management code
gpu: host1x: Program context stream ID on submission drm/tegra: falcon: Set DMACTX field on DMA transactions drm/tegra: nvdec: Fix TRANSCFG register offset drm/tegra: Support context isolation
drm/tegra: Implement stream ID related callbacks on engines
gpu: host1x: Deduplicate hardware headers
gpu: host1x: Simplify register mapping and add common aperture
gpu: host1x: Program virtualization tables
gpu: host1x: Allow reset to be missing
gpu: host1x: Program interrupt destinations on Tegra234
gpu: host1x: Tegra234 device data and headers
gpu: host1x: Rewrite job opcode sequence
gpu: host1x: Add MLOCK release code on Tegra234
gpu: host1x: Use RESTART_W to skip timed out jobs on Tegra186+ drm/tegra: vic: Add Tegra234 support
gpu: host1x: Initialize syncval in channel_submit()
gpu: host1x: Generalize host1x_cdma_push_wide()
Robin Murphy (2):
gpu: host1x: Register context bus unconditionally drm/tegra: Include DMA API header where used
Thierry Reding (1):
dt-bindings: display: tegra: Convert to json-schema
YueHaibing (1):
drm/tegra: vic: Fix build warning when CONFIG_PM=n
.../display/tegra/nvidia,tegra114-mipi.txt | 41 -- .../display/tegra/nvidia,tegra114-mipi.yaml | 74 +++ .../display/tegra/nvidia,tegra124-dpaux.yaml | 152 +++++ .../display/tegra/nvidia,tegra124-sor.yaml | 197 ++++++ .../display/tegra/nvidia,tegra124-vic.yaml | 72 +++ .../bindings/display/tegra/nvidia,tegra186-dc.yaml | 85 +++ .../display/tegra/nvidia,tegra186-display.yaml | 310 ++++++++++ .../display/tegra/nvidia,tegra186-dsi-padctl.yaml | 45 ++ .../bindings/display/tegra/nvidia,tegra20-dc.yaml | 183 ++++++ .../bindings/display/tegra/nvidia,tegra20-dsi.yaml | 159 +++++ .../bindings/display/tegra/nvidia,tegra20-epp.yaml | 70 +++ .../display/tegra/nvidia,tegra20-gr2d.yaml | 74 +++ .../display/tegra/nvidia,tegra20-gr3d.yaml | 215 +++++++ .../display/tegra/nvidia,tegra20-hdmi.yaml | 126 ++++ .../display/tegra/nvidia,tegra20-host1x.txt | 675 --------------------- .../display/tegra/nvidia,tegra20-host1x.yaml | 431 +++++++++++++ .../bindings/display/tegra/nvidia,tegra20-isp.yaml | 67 ++ .../bindings/display/tegra/nvidia,tegra20-mpe.yaml | 73 +++ .../bindings/display/tegra/nvidia,tegra20-tvo.yaml | 58 ++ .../bindings/display/tegra/nvidia,tegra20-vi.yaml | 163 +++++ .../display/tegra/nvidia,tegra210-csi.yaml | 52 ++ .../pinctrl/nvidia,tegra124-dpaux-padctl.txt | 59 -- MAINTAINERS | 4 +- drivers/gpu/drm/tegra/dc.c | 1 + drivers/gpu/drm/tegra/drm.c | 1 + drivers/gpu/drm/tegra/drm.h | 11 + drivers/gpu/drm/tegra/falcon.c | 8 + drivers/gpu/drm/tegra/falcon.h | 1 + drivers/gpu/drm/tegra/gem.c | 11 +- drivers/gpu/drm/tegra/hub.c | 1 + drivers/gpu/drm/tegra/nvdec.c | 14 +- drivers/gpu/drm/tegra/plane.c | 1 + drivers/gpu/drm/tegra/submit.c | 48 +- drivers/gpu/drm/tegra/uapi.c | 43 +- drivers/gpu/drm/tegra/vic.c | 92 ++- drivers/gpu/host1x/Makefile | 6 +- drivers/gpu/host1x/cdma.c | 43 +- drivers/gpu/host1x/channel.c | 8 +- drivers/gpu/host1x/context.c | 160 +++++ drivers/gpu/host1x/context.h | 38 ++ drivers/gpu/host1x/context_bus.c | 5 - drivers/gpu/host1x/dev.c | 124 ++-- drivers/gpu/host1x/dev.h | 13 + drivers/gpu/host1x/hw/cdma_hw.c | 34 ++ drivers/gpu/host1x/hw/channel_hw.c | 137 ++++- drivers/gpu/host1x/hw/host1x01_hardware.h | 114 +--- drivers/gpu/host1x/hw/host1x02_hardware.h | 113 +--- drivers/gpu/host1x/hw/host1x04_hardware.h | 113 +--- drivers/gpu/host1x/hw/host1x05_hardware.h | 113 +--- drivers/gpu/host1x/hw/host1x06_hardware.h | 118 +--- drivers/gpu/host1x/hw/host1x07_hardware.h | 118 +--- drivers/gpu/host1x/hw/host1x08.c | 33 + drivers/gpu/host1x/hw/host1x08.h | 15 + drivers/gpu/host1x/hw/host1x08_hardware.h | 21 + drivers/gpu/host1x/hw/hw_host1x08_channel.h | 11 + drivers/gpu/host1x/hw/hw_host1x08_common.h | 11 + drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h | 9 + drivers/gpu/host1x/hw/hw_host1x08_uclass.h | 181 ++++++ drivers/gpu/host1x/hw/hw_host1x08_vm.h | 36 ++ drivers/gpu/host1x/hw/intr_hw.c | 11 + drivers/gpu/host1x/hw/opcodes.h | 150 +++++ include/linux/host1x.h | 42 ++ 62 files changed, 3815 insertions(+), 1579 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra114-mipi.txt create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra114-mipi.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-dpaux.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-sor.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-vic.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dc.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-display.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dsi-padctl.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dsi.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-epp.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr2d.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-hdmi.yaml delete mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-isp.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-tvo.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vi.yaml create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra210-csi.yaml delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-dpaux-padctl.txt create mode 100644 drivers/gpu/host1x/context.c create mode 100644 drivers/gpu/host1x/context.h create mode 100644 drivers/gpu/host1x/hw/host1x08.c create mode 100644 drivers/gpu/host1x/hw/host1x08.h create mode 100644 drivers/gpu/host1x/hw/host1x08_hardware.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x08_channel.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x08_common.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x08_uclass.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x08_vm.h create mode 100644 drivers/gpu/host1x/hw/opcodes.h