Skip to content

Tegra DRM fixes

Dmitry Osipenko dri-devel linux-tegra 3 versions – Applied

Status from this message: Applied to drm-misc-fixes, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest20 patches 3 repliesApplied
  2. v222 patches 17 repliesSuperseded
  3. v122 patches 46 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/20drm/tegra: Fix lockup on a use of staging APIdrivers/gpu/drm/tegra/drm.c+4 -161 reply
2/20drm/tegra: Correct idr_alloc() minimum iddrivers/gpu/drm/tegra/drm.c+1 -11 reply
3/20drm/tegra: Check for malformed offsets and sizes in the 'submit' IOCTLdrivers/gpu/drm/tegra/drm.c drivers/gpu/drm/tegra/gem.c drivers/gpu/drm/tegra/gem.h+54 -50 replies
4/20drm/tegra: Correct copying of waitchecks and disable them in the 'submit' IOCTLdrivers/gpu/drm/tegra/drm.c drivers/gpu/host1x/job.h include/linux/host1x.h+63 -110 replies
5/20drm/tegra: Check syncpoint ID in the 'submit' IOCTLdrivers/gpu/drm/tegra/drm.c+9 -00 replies
6/20drm/tegra: dc: Avoid reset asserts on Tegra20drivers/gpu/drm/tegra/dc.c+21 -90 replies
7/20drm/tegra: dc: Apply clipping to the planedrivers/gpu/drm/tegra/dc.c+21 -80 replies
8/20drm/tegra: dc: Disable plane if it is invisibledrivers/gpu/drm/tegra/dc.c+21 -120 replies
9/20gpu: host1x: Initialize firewall class to the jobs onedrivers/gpu/host1x/job.c+1 -10 replies
10/20gpu: host1x: Correct host1x_job_pin() error handlingdrivers/gpu/host1x/job.c+7 -90 replies
11/20gpu: host1x: Do not leak BO's phys address to userspacedrivers/gpu/host1x/job.c+27 -120 replies
12/20gpu: host1x: Forbid relocation address shifting in the firewalldrivers/gpu/host1x/job.c+4 -00 replies
13/20gpu: host1x: Forbid RESTART opcode in the firewalldrivers/gpu/host1x/job.c+0 -10 replies
14/20gpu: host1x: Forbid unrelated SETCLASS opcode in the firewalldrivers/gpu/drm/tegra/drm.c drivers/gpu/drm/tegra/drm.h drivers/gpu/drm/tegra/gr2d.c +2 more+32 -40 replies
15/20gpu: host1x: Correct swapped arguments in the is_addr_reg() definitioninclude/linux/host1x.h+1 -10 replies
16/20gpu: host1x: Check waits in the firewalldrivers/gpu/host1x/job.c+34 -20 replies
17/20gpu: host1x: Remove unused 'struct host1x_cmdbuf'drivers/gpu/host1x/job.h+0 -70 replies
18/20gpu: host1x: Remove unused host1x_cdma_stop() definitiondrivers/gpu/host1x/cdma.h+0 -10 replies
19/20gpu: host1x: Refactor channel allocation codedrivers/gpu/drm/tegra/gr2d.c drivers/gpu/drm/tegra/gr3d.c drivers/gpu/drm/tegra/vic.c +7 more+135 -1100 replies
20/20gpu: host1x: At first try a non-blocking allocation for the gather copydrivers/gpu/host1x/job.c+12 -40 replies

Reviews trailers per patch

All 20 patches have a Reviewed-by or Acked-by.

PatchMikko PerttunenErik Faye-LundDmitry Osipenko
1/20R-b R-b
2/20R-b
3/20R-b R-b
4/20R-b
5/20R-b
6/20R-b
7/20R-b
8/20R-b
9/20R-b R-b
10/20R-b R-b
11/20R-b
12/20R-b R-b
13/20R-b R-b
14/20R-b R-b
15/20R-b R-b
16/20R-b R-b
17/20R-b R-b
18/20R-b R-b
19/20R-b T-b
20/20R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/20] Tegra DRM fixes

I've dropped the two "GART restoring" patches from the series, postponing them till a full solution of GART utilization would be ready.

The "Forbid relocation address shifting in the firewall" patch has been reverted to v1, Mikko and me agreed on that it is a reasonable variant.

All the patches got a r-b, series should be good to go.

Dmitry Osipenko (19):
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
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        | 141 +++++++++++++++++++++++++++++------
 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           |   7 +-
 drivers/gpu/host1x/dev.h           |   6 +-
 drivers/gpu/host1x/hw/channel_hw.c |   4 -
 drivers/gpu/host1x/job.c           | 124 ++++++++++++++++++++++++-------
 drivers/gpu/host1x/job.h           |  14 ----
 include/linux/host1x.h             |  13 +++-
 18 files changed, 440 insertions(+), 207 deletions(-)
Signature · 1 line
2.13.0