[GIT PULL] drm/tegra: Changes for v4.17-rc1

Thierry Reding thierry.reding at gmail.com
Mon Mar 19 09:59:39 UTC 2018


Hi Dave,

The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:

  Linux 4.16-rc1 (2018-02-11 15:04:29 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/tegra/linux tags/drm/tegra/for-4.17-rc1

for you to fetch changes up to 27e92f1f1600c214bf649daddb9b88b68330a8d1:

  drm/tegra: prime: Implement ->{begin,end}_cpu_access() (2018-03-17 00:04:20 +0100)

Apologies for the delay. I originally wanted to send this out on Friday
but then ran into a pair of bugs that I thought might be caused by this
branch. Turns out that they were both already broken in v4.16-rc1 and I
just hadn't tested for the corner case, so I caught them only very late
in the release cycle.

Anyway, the fixes for that are on the drm/tegra/fixes branch for which
I sent an updated pull request earlier. The stuff here's fairly trivial
and incremental improvements.

Thanks,
Thierry

----------------------------------------------------------------
drm/tegra: Changes for v4.17-rc1

This fixes mmap() for fbdev devices by providing a custom implementation
based on the KMS variant. This is a fairly exotic case these days, hence
why it is not flagged for stable.

There is also support for dedicating one of the overlay planes to serve
as a hardware cursor on older Tegra that did support hardware cursors
but not RGBA formats for it.

Planes will now also export the IN_FORMATS property by supporting the
various block-linear tiling modifiers for RGBA pixel formats.

Other than that, there's a bit of cleanup of DMA API abuse, use of the
private object infrastructure for global state (rather than subclassing
atomic state objects) and an implementation of ->{begin,end}_cpu_access
callbacks for PRIME exported buffers, which allow users to perform cache
maintenance on these buffers.

----------------------------------------------------------------
Dmitry Osipenko (2):
      drm/tegra: plane: Make tegra_plane_get_overlap_index() static
      drm/tegra: dc: Dedicate overlay plane to cursor on older Tegra's

Thierry Reding (8):
      drm/tegra: gem: Reshuffle declarations
      drm/tegra: gem: Make __tegra_gem_mmap() available more widely
      drm/tegra: fb: Implement ->fb_mmap() callback
      drm/tegra: plane: Support format modifiers
      drm/tegra: fb: Properly support linear modifier
      drm/tegra: hub: Use private object for global state
      drm/tegra: gem: Map pages via the DMA API
      drm/tegra: prime: Implement ->{begin,end}_cpu_access()

 drivers/gpu/drm/tegra/dc.c    |  82 ++++++++++++++++-----------
 drivers/gpu/drm/tegra/dc.h    |   1 +
 drivers/gpu/drm/tegra/drm.c   |  36 ++----------
 drivers/gpu/drm/tegra/drm.h   |  14 -----
 drivers/gpu/drm/tegra/fb.c    |  25 ++++++++-
 drivers/gpu/drm/tegra/gem.c   |  69 ++++++++++++++++-------
 drivers/gpu/drm/tegra/gem.h   |   5 +-
 drivers/gpu/drm/tegra/hub.c   | 125 +++++++++++++++++++++++++++++++++++++++---
 drivers/gpu/drm/tegra/hub.h   |  17 ++++++
 drivers/gpu/drm/tegra/plane.c |  20 ++++++-
 10 files changed, 280 insertions(+), 114 deletions(-)


More information about the dri-devel mailing list