From patchwork Wed Apr 17 01:30:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 10904315 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 43F4517E0 for ; Wed, 17 Apr 2019 01:30:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B86028A20 for ; Wed, 17 Apr 2019 01:30:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F13928A24; Wed, 17 Apr 2019 01:30: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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF4C228A20 for ; Wed, 17 Apr 2019 01:30:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728514AbfDQBao (ORCPT ); Tue, 16 Apr 2019 21:30:44 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:38375 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728486AbfDQBao (ORCPT ); Tue, 16 Apr 2019 21:30:44 -0400 Received: by mail-pf1-f195.google.com with SMTP id 10so11281109pfo.5 for ; Tue, 16 Apr 2019 18:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W39mpUl4mJCk+gefdZoka9hHMeH8bwEAu1awwZZrt6k=; b=GmombeLtnkxnsj26H6rwt2s/058Ewyb3dvt3okwCAwmW5b9VCSkd5ewiDgExO2QN/t APwLp9uG1x5inA3twvH6KRo4oTCXwQoxeCcAMHVQeNtQYcblFHzpvY+qxLhtrdCiMdlr cqkORTVoqoQ48fdMwK/eVfYGpeSXBI0TOMUPEzZnJ+nL0GKRrcXhrV3T5ssHuBbnFjJR udIoVDjTFFD1tCB+di9bUWQ3jBTfOq2maL8LS/pqWm8sa1yIFBnPMzr/v+3MZVpLMVUC uqV53RI5F8ZdZMJJx6Qksm8aMmBMtwSl+u6sW4HcaoZ6mHQ02MVD80/Cou1qE1k9bes9 2u0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W39mpUl4mJCk+gefdZoka9hHMeH8bwEAu1awwZZrt6k=; b=grBNYh/0IbqMsbSbdAJe4OlobPNJJv+TI6I/y2ft8Z4DiLypVtAyWVcIBx5bx/fvJg L4IHQtGjNIoN/ZIalmSPhuvMP6Yw5oPKzeMP1LBkB82J4woUBfC0vxRMIEphUrsXjI/s 7hwuEaNcF4qcaUgf7S1Qa8W2988Fxkv/hUOBkExygCwrlAemaJLl55iQ+h/A7pUv35ae ri+LwuZEYxyffHKfiO4WtRPM7sgEtxKSyTuLuXExpBATjPWTbk/eNiyuCdF4nObpf7Yx qmiEEe+h0BXftEzL6KllevbL0MvqNUvJQ22xLxyHdccI7GIrugaooy9F6wmUJWuu0laV BYuw== X-Gm-Message-State: APjAAAUhC9G6I9BrXEYDnVUhZhE8EdC2dTioP/YquP1KOzn0UIdZ3XS7 zl9yifJ6mWUoWLr7osBygNw= X-Google-Smtp-Source: APXvYqwyO1JePl8nnE5rXQYb2Ty//wU8JUMZZ0AMO3n9qsb4hhFdq/k2/7Qa02aKqyYItIwb3yUtbw== X-Received: by 2002:a62:b40b:: with SMTP id h11mr86759604pfn.133.1555464643440; Tue, 16 Apr 2019 18:30:43 -0700 (PDT) Received: from localhost ([2601:1c0:4501:a35a:719a:233b:28ab:5ad5]) by smtp.gmail.com with ESMTPSA id n82sm88102902pfi.63.2019.04.16.18.30.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Apr 2019 18:30:41 -0700 (PDT) From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark Subject: [PATCH 0/3] drm/msm: uabi updates for KHR_robustness Date: Tue, 16 Apr 2019 18:30:23 -0700 Message-Id: <20190417013031.555-1-robdclark@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Collection of a few small UABI updates from Jordan and myself to enable userspace support for robustness[1]. The userspace side of this is at: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/673/commits [1] it doesn't *quite* enable it yet, since we don't have per-context pagetables yet without some iommu work landing first. But it can otherwise be tested for the fault detection part of things with a small hack. Jordan Crouse (1): drm/msm/gpu: Add submit queue queries Rob Clark (2): drm/msm/gpu: add per-process pagetables param drm/msm: add param to retrieve # of GPU faults (global) drivers/gpu/drm/msm/adreno/adreno_gpu.c | 6 ++++ drivers/gpu/drm/msm/msm_drv.c | 9 +++++- drivers/gpu/drm/msm/msm_drv.h | 2 ++ drivers/gpu/drm/msm/msm_gpu.c | 4 +++ drivers/gpu/drm/msm/msm_gpu.h | 3 ++ drivers/gpu/drm/msm/msm_submitqueue.c | 41 +++++++++++++++++++++++++ include/uapi/drm/msm_drm.h | 14 +++++++++ 7 files changed, 78 insertions(+), 1 deletion(-)