[PATCH v2 00/22] Tegra DRM fixes

Dmitry Osipenko digetx at gmail.com
Tue Jun 13 23:15:39 UTC 2017


The major changes of the V2 are:

  - Dropped "drm/tegra: Check whether page belongs to BO in tegra_bo_kmap()"
    patch as it is not needed with the checks performed by 'submit' IOCTL.

  - Dropped "drm/tegra: Remove module ownership from the tegra_fb_ops",
    turned out it is not needed. Thanks to Thierry for the clarification.

  - Added new patch "gpu: host1x: At first try a non-blocking allocation
    for the gather copy", which is a trivial fix for the Host1x firewall
    performance.

  - Reworked "drm/tegra: dc: Drop the reset asserts to workaround a bug"
    patch as per Thierry's suggestion to avoid reset only on Tegra20.

  - Fixed "drm/tegra: Don't use IOMMU on Tegra20" patch compilation in case
    of modular Tegra DRM. Thanks to Mikko and Nicolas for the suggestions.

  - The "Forbid relocation address shifting in the firewall" patch has been
    reworked to not break newer Tegra's.

Thanks to Erik, Mikko, Nicolas and Thierry for the reviews and suggestions.

Dmitry Osipenko (21):
  drm/tegra: Fix lockup on a use of staging API
  drm/tegra: Correct idr_alloc() minimum id
  drm/tegra: Check for malformed offsets and sizes in the 'submit' IOCTL
  drm/tegra: Correct copying of waitchecks and disable them in the
    'submit' IOCTL
  drm/tegra: Check syncpoint ID in the 'submit' IOCTL
  drm/tegra: dc: Avoid reset asserts on Tegra20
  drm/tegra: dc: Apply clipping to the plane
  drm/tegra: dc: Disable plane if it is invisible
  drm/tegra: Don't use IOMMU on Tegra20
  Revert "iommu/tegra: gart: Do not register with bus"
  gpu: host1x: Initialize firewall class to the jobs one
  gpu: host1x: Correct host1x_job_pin() error handling
  gpu: host1x: Do not leak BO's phys address to userspace
  gpu: host1x: Forbid relocation address shifting in the firewall
  gpu: host1x: Forbid RESTART opcode in the firewall
  gpu: host1x: Forbid unrelated SETCLASS opcode in the firewall
  gpu: host1x: Correct swapped arguments in the is_addr_reg() definition
  gpu: host1x: Check waits in the firewall
  gpu: host1x: Remove unused 'struct host1x_cmdbuf'
  gpu: host1x: Remove unused host1x_cdma_stop() definition
  gpu: host1x: At first try a non-blocking allocation for the gather
    copy

Mikko Perttunen (1):
  gpu: host1x: Refactor channel allocation code

 drivers/gpu/drm/tegra/dc.c         |  92 +++++++++++++++--------
 drivers/gpu/drm/tegra/drm.c        | 144 ++++++++++++++++++++++++++++++------
 drivers/gpu/drm/tegra/drm.h        |   1 +
 drivers/gpu/drm/tegra/gem.c        |   5 --
 drivers/gpu/drm/tegra/gem.h        |   5 ++
 drivers/gpu/drm/tegra/gr2d.c       |  11 ++-
 drivers/gpu/drm/tegra/gr3d.c       |   4 +-
 drivers/gpu/drm/tegra/vic.c        |   4 +-
 drivers/gpu/host1x/cdma.h          |   1 -
 drivers/gpu/host1x/channel.c       | 147 +++++++++++++++++++++++--------------
 drivers/gpu/host1x/channel.h       |  21 ++++--
 drivers/gpu/host1x/debug.c         |  47 +++++-------
 drivers/gpu/host1x/dev.c           |  14 +++-
 drivers/gpu/host1x/dev.h           |   7 +-
 drivers/gpu/host1x/hw/channel_hw.c |   4 -
 drivers/gpu/host1x/job.c           | 144 +++++++++++++++++++++++++++++-------
 drivers/gpu/host1x/job.h           |  14 ----
 drivers/iommu/tegra-gart.c         |   2 +-
 include/linux/host1x.h             |  13 +++-
 19 files changed, 470 insertions(+), 210 deletions(-)

-- 
2.13.0



More information about the dri-devel mailing list