[GIT PULL] etnaviv-next for 4.15

Lucas Stach l.stach at pengutronix.de
Fri Oct 13 11:05:10 UTC 2017

Hi Dave,

this time around we have a bunch more patches, compared to the last

Most notable addition this time is the support for the GPU performance
counters by Christian. This has been in the making for some time and it
has matured a lot. Since this is adding UAPI, the corresponding WIP
userspace can be found at [1] mesa/libdrm repos. I expect that
Christian sends out the final userspace patches for this once you have
pulled the kernel bits.

Philipp optimized the probe path, so etnaviv gets out of the way for
systems that want to boot real quick.

I've done mostly cleanups, disentangling etnaviv from the IOMMU API,
with some MMUv1 optimizations on the way.


The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e:

  Linux 4.14-rc1 (2017-09-16 15:47:51 -0700)

are available in the git repository at:

  https://git.pengutronix.de/git/lst/linux etnaviv/next

for you to fetch changes up to 8272170f7da34e2554bed10ab76582094ea6816d:

  drm/etnaviv: remove unnecessary clock stabilization delay (2017-10-10 12:10:20 +0200)

Christian Gmeiner (23):
      drm/etnaviv: use bitmap to keep track of events
      drm/etnaviv: make it possible to allocate multiple events
      drm/etnaviv: add infrastructure to query perf counter
      drm/etnaviv: add uapi for perfmon feature
      drm/etnaviv: add internal representation of perfmon_request
      drm/etnaviv: extend etnaviv_gpu_cmdbuf_new(..) with nr_pmrs
      drm/etnaviv: add performance monitor request validation
      drm/etnaviv: copy pmrs from userspace
      drm/etnaviv: add performance monitor request processing
      drm/etnaviv: add 'sync point' support
      drm/etnaviv: clear alloced event
      drm/etnaviv: use 'sync points' for performance monitor requests
      drm/etnaviv: add HI perf domain
      drm/etnaviv: add PE perf domain
      drm/etnaviv: add SH perf domain
      drm/etnaviv: add PA perf domain
      drm/etnaviv: add SE perf domain
      drm/etnaviv: add RA perf domain
      drm/etnaviv: add TX perf domain
      drm/etnaviv: add MC perf domain
      drm/etnaviv: need to disable clock gating when doing profiling
      drm/etnaviv: enable debug registers on demand
      drm/etnaviv: submit supports performance monitor requests

Lucas Stach (11):
      drm/etnaviv: remove iommu fault handler
      drm/etnaviv: remove iova_to_phys iommu ops
      drm/etnaviv: iommuv1: fold pagetable alloc and free into caller
      drm/etnaviv: iommuv1: fold pgtable_write into callers
      drm/etnaviv: iommuv1: remove map_lock
      drm/etnaviv: mmu: stop using iommu map/unmap functions
      drm/etnaviv: mmu: mark local functions static
      drm/etnaviv: remove IOMMU dependency
      drm/etnaviv: rework clock initialization
      drm/etnaviv: remove stale comment
      drm/etnaviv: remove unused function etnaviv_gem_new

Philipp Zabel (2):
      drm/etnaviv: reduce reset delay
      drm/etnaviv: remove unnecessary clock stabilization delay

 drivers/gpu/drm/etnaviv/Kconfig              |   2 -
 drivers/gpu/drm/etnaviv/Makefile             |   3 +-
 drivers/gpu/drm/etnaviv/etnaviv_buffer.c     |  36 ++
 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c     |  15 +-
 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h     |   6 +-
 drivers/gpu/drm/etnaviv/etnaviv_drv.c        |  39 ++-
 drivers/gpu/drm/etnaviv/etnaviv_drv.h        |   6 +-
 drivers/gpu/drm/etnaviv/etnaviv_gem.c        |  19 -
 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c |  69 +++-
 drivers/gpu/drm/etnaviv/etnaviv_gpu.c        | 217 +++++++++---
 drivers/gpu/drm/etnaviv/etnaviv_gpu.h        |  13 +-
 drivers/gpu/drm/etnaviv/etnaviv_iommu.c      | 197 ++++-------
 drivers/gpu/drm/etnaviv/etnaviv_iommu.h      |   7 +-
 drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c   | 120 +++----
 drivers/gpu/drm/etnaviv/etnaviv_mmu.c        | 106 ++++--
 drivers/gpu/drm/etnaviv/etnaviv_mmu.h        |  36 +-
 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c    | 495 +++++++++++++++++++++++++++
 drivers/gpu/drm/etnaviv/etnaviv_perfmon.h    |  49 +++
 include/uapi/drm/etnaviv_drm.h               |  43 ++-
 19 files changed, 1148 insertions(+), 330 deletions(-)
 create mode 100644 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
 create mode 100644 drivers/gpu/drm/etnaviv/etnaviv_perfmon.h

More information about the dri-devel mailing list