From patchwork Thu May 14 15:05:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohan Garg X-Patchwork-Id: 11549063 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8964314C0 for ; Thu, 14 May 2020 15:05:56 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 71F85205CB for ; Thu, 14 May 2020 15:05:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 71F85205CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F3916E354; Thu, 14 May 2020 15:05:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by gabe.freedesktop.org (Postfix) with ESMTPS id 800516E086 for ; Thu, 14 May 2020 15:05:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: shadeslayer) with ESMTPSA id 37CFD2A2F31 From: Rohan Garg To: dri-devel@lists.freedesktop.org Subject: [PATCH v5 0/2] Introducing IOCTL's to set/get label's for a buffer object Date: Thu, 14 May 2020 17:05:31 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@collabora.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi I've been reworking these label'ing patches in conjunction with their userspace usage that can be found here [1]. The intention is that these patches will be useful for driver developers and application developers alike in conjuction with something like the OpenGL Label'ing extension [2]. Cheers Rohan Garg [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2426/ [2] https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_debug_label.txt Rohan Garg (2): drm/ioctl: Add a ioctl to set and get a label on GEM objects panfrost: Set default labeling helpers drivers/gpu/drm/drm_gem.c | 54 ++++++++++++++++++ drivers/gpu/drm/drm_internal.h | 14 +++++ drivers/gpu/drm/drm_ioctl.c | 74 +++++++++++++++++++++++++ drivers/gpu/drm/panfrost/panfrost_drv.c | 3 + include/drm/drm_drv.h | 32 +++++++++++ include/drm/drm_gem.h | 16 +++++- include/uapi/drm/drm.h | 21 ++++++- 7 files changed, 212 insertions(+), 2 deletions(-)