From patchwork Fri Aug 16 09:14:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 11097353 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 66E831398 for ; Fri, 16 Aug 2019 09:14:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D596289A7 for ; Fri, 16 Aug 2019 09:14:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 415C4289D1; Fri, 16 Aug 2019 09:14:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8F94D289B6 for ; Fri, 16 Aug 2019 09:14:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5020E8991E; Fri, 16 Aug 2019 09:14:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3BBEE89956 for ; Fri, 16 Aug 2019 09:14:39 +0000 (UTC) Received: from kresse.hi.pengutronix.de ([2001:67c:670:100:1d::2a]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1hyYJh-0006Ci-7C; Fri, 16 Aug 2019 11:14:37 +0200 Message-ID: <1565946875.2641.73.camel@pengutronix.de> Subject: [GIT PULL] etnaviv-next for 5.4 From: Lucas Stach To: David Airlie , Daniel Vetter Date: Fri, 16 Aug 2019 11:14:35 +0200 X-Mailer: Evolution 3.22.6-1+deb9u2 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::2a X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@pengutronix.de, dri-devel@lists.freedesktop.org, etnaviv@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Daniel, Dave, after some pretty slow cycles we finally have a bit more exciting work ready for upstream. Most importantly per-process address spaces on GPUs that are capable of providing proper isolation has finished baking. This is the base for our softpin implementation, which allows us to support the texture descriptor buffers used by GC7000 series GPUs without a major UAPI extension/rework. Shortlog of notable changes: - code cleanup from Fabio - fix performance counters on GC880 and GC2000 GPUs from Christian - drmP.h header removal from Sam - per process address space support on MMUv2 GPUs from me - softpin support from me Regards, Lucas The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: https://git.pengutronix.de/git/lst/linux etnaviv/next for you to fetch changes up to 088880ddc0b20086b71bb87b805fb63ff07c35f2: drm/etnaviv: implement softpin (2019-08-15 12:07:47 +0200) ---------------------------------------------------------------- Christian Gmeiner (2): etnaviv: fix whitespace errors etnaviv: perfmon: fix total and idle HI cyleces readout Fabio Estevam (1): drm/etnaviv: Use devm_platform_ioremap_resource() Lucas Stach (16): drm/etnaviv: clean up includes drm/etnaviv: fix etnaviv_cmdbuf_suballoc_new return value drm/etnaviv: remove unused function etnaviv_gem_mapping_reference drm/etnaviv: dump only failing submit drm/etnaviv: pass mmu pointer to etnaviv_core_dump_mmu drm/etnaviv: simplify unbind checks drm/etnaviv: split out cmdbuf mapping into address space drm/etnaviv: share a single cmdbuf suballoc region across all GPUs drm/etnaviv: replace MMU flush marker with flush sequence drm/etnaviv: rework MMU handling drm/etnaviv: split out starting of FE idle loop drm/etnaviv: provide MMU context to etnaviv_gem_mapping_get drm/etnaviv: implement per-process address spaces on MMUv2 drm/etnaviv: skip command stream validation on PPAS capable GPUs drm/etnaviv: allow to request specific virtual address for gem mapping drm/etnaviv: implement softpin Sam Ravnborg (1): drm/etnaviv: drop use of drmP.h drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 93 ++++++++++---- drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c | 58 +++++---- drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h | 15 ++- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 68 ++++++++-- drivers/gpu/drm/etnaviv/etnaviv_drv.h | 27 ++-- drivers/gpu/drm/etnaviv/etnaviv_dump.c | 65 ++++------ drivers/gpu/drm/etnaviv/etnaviv_dump.h | 4 +- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 56 ++++---- drivers/gpu/drm/etnaviv/etnaviv_gem.h | 8 +- drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 2 + drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 45 ++++++- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 158 ++++++++++++----------- drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 11 +- drivers/gpu/drm/etnaviv/etnaviv_iommu.c | 165 +++++++++++------------- drivers/gpu/drm/etnaviv/etnaviv_iommu.h | 20 --- drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c | 284 ++++++++++++++++++----------------------- drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 326 ++++++++++++++++++++++++++++++++--------------- drivers/gpu/drm/etnaviv/etnaviv_mmu.h | 114 ++++++++++++----- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 48 +++++-- drivers/gpu/drm/etnaviv/etnaviv_sched.c | 4 +- include/uapi/drm/etnaviv_drm.h | 10 +- 21 files changed, 922 insertions(+), 659 deletions(-) delete mode 100644 drivers/gpu/drm/etnaviv/etnaviv_iommu.h