From patchwork Fri Nov 30 15:00:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 10706477 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 B4F7313BF for ; Fri, 30 Nov 2018 15:01:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6217301B3 for ; Fri, 30 Nov 2018 15:01:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A0F7301D9; Fri, 30 Nov 2018 15:01:01 +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,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,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 5EA64301C7 for ; Fri, 30 Nov 2018 15:01:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DF6C89000; Fri, 30 Nov 2018 15:00:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2193489000 for ; Fri, 30 Nov 2018 15:00:58 +0000 (UTC) Received: by mail-qt1-x841.google.com with SMTP id y20so6156777qtm.13 for ; Fri, 30 Nov 2018 07:00:58 -0800 (PST) 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=8HXKemjPSVnavJCDs0MFAJbNxRx1KtDgMA0vKOOxvkw=; b=risSqTHx+KJkekhoN3Ly+lA3i4DCkWM88mZkKD4uZzTTIElvZLSdX14mw7Gd1SkJHx fle5gNqBcN/tLmxCL6PTrIQHXAwBp0TIGRz0RNRIVGybjudwAeAbFbrzKp4yuKGsPOPA 2BEcVFfMXeO8jfAgRmHNP+IP0AMynrCeIISXkZIoNDLCwLPFgU9HBPyLuchELg20NLt5 McYx3nirlfiBsZxs1jW3AHYVu9SIk8PIkHwFqZOj49rZLmlFw/G20rMNZtO51zI6DzA5 4B0bYQHPuTRuBzUjjNtTHJnPKb9RpOBhuq+nbEHNP3KMgkm2VDScF5HUPXlCEuRO/6LY xf1A== X-Gm-Message-State: AA+aEWazSaj1lIQrpvmjEuOkeZAWDgcJ0tVMii7Hp1cBLHtJEidH7i3A gFP2RlJFZjvGfHbUsnpYZmr2YHHJ X-Google-Smtp-Source: AFSGD/UNs7lnnO6KzNtvub7JjRSihoPNY8iGNaG6oiEIiDkbfmlyHmFs0L4L6UriBuoXZaNsqyuTqQ== X-Received: by 2002:a0c:919d:: with SMTP id n29mr5767074qvn.202.1543590056871; Fri, 30 Nov 2018 07:00:56 -0800 (PST) Received: from localhost ([144.121.20.162]) by smtp.gmail.com with ESMTPSA id y2sm4247572qtb.88.2018.11.30.07.00.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Nov 2018 07:00:56 -0800 (PST) From: Rob Clark To: dri-devel@lists.freedesktop.org Subject: [PATCH 0/4] drm/msm: uapi updates Date: Fri, 30 Nov 2018 10:00:38 -0500 Message-Id: <20181130150050.13762-1-robdclark@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This applies on top of this patchset from Jordan Crouse: https://patchwork.freedesktop.org/series/52193/ But with patch 8/9 dropped, and instead support to set debug name added to the GEM_INFO ioctl. This was mainly motivated by freedreno's user- space bo cache, where a buffer can be recycled for a different purpose (and therefore a debug name set at GEM_NEW time would no be no longer valid). For now you can find the corresponding userspace: https://github.com/freedreno/mesa/commits/wip/invalidate-all-the-things Rob Clark (4): drm/msm/gpu: add submit flag to hint which buffers should be dumped drm/msm: rework GEM_INFO ioctl drm/msm: add uapi to get/set debug name drm/msm: bump UAPI version drivers/gpu/drm/msm/msm_drv.c | 65 +++++++++++++++++++++++----- drivers/gpu/drm/msm/msm_gem_submit.c | 5 ++- drivers/gpu/drm/msm/msm_rd.c | 13 ++++-- include/uapi/drm/msm_drm.h | 24 +++++++--- 4 files changed, 86 insertions(+), 21 deletions(-)