Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4577098ybb; Tue, 14 Apr 2020 09:57:55 -0700 (PDT) X-Google-Smtp-Source: APiQypJDSSRp7q81BhrOuYiLeX43ZuSZFUf1MPSeVKjYzBkvmcLdhg5g0ZfxDndtODvOW+OsmHeJ X-Received: by 2002:a50:d942:: with SMTP id u2mr21491089edj.116.1586883475151; Tue, 14 Apr 2020 09:57:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586883475; cv=none; d=google.com; s=arc-20160816; b=VuGYRuwtiNVQTZdwiz5/oh12lmjc/tWrlDA6qW7gfHTAjADJLBIR+ef8HgiR42qWO/ FDakXVlPbDdmkvSniJkA9HxUNRt7dqqzw5ZIV1y/4HqVMkUKIXzoeL4S45bS+JS9VVBE L9g6nkxy9Wy0k1SK7w1nZTbJYuCb/ZxBcdMmkR90DruGt5NWT8PWOuULvVWdL+QFIip3 UoRNsiFHz6GDD4CHlcl0IzJwNatUxpai+WFWNhWdItfdWt98GBYv/jeKA5J7VDZcQW99 St8PwkifmzcXduMJxecie/fbfwXMU4k8SLltzx6mcaiO0S+QkJ7yJuOnyh6+A+tVtrgt lm/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H2BNlUDCg0mG6/oh50uK2LpMB5QmTXYj8wfYi6c3ozE=; b=XbplN2f9ZSrcD4hkNfYphFXPwPFeShjv9UD7x1F8uh+y84JLudTPoTw/0c9K3kY+21 CKDEaQATWvu6exuZs+78n+LUoELp/SaCulTmpbpvpnpn4TTqXYeyDiVN103bFXZIVM3X k6zUaZpm5VL3j1/CFLzayCh0wM+MOO1MnTA0xs1xWhRYJddziHEW9k9gKHQSfqe90xlV 2d7M6DwyFxXKycLVhBbd0jeo/NGDuuONZncE2iJKwzv3NtM27pzzyTXfGsQHtGcVSDd7 xHSkIi9LlZssMu2p99/Qm8cMNbLUgG+PSua/idJTcf9WZNqRzshFJ63SCysXwsZ4JZ3B Brhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c3ygblLY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si8440025eds.303.2020.04.14.09.57.31; Tue, 14 Apr 2020 09:57:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c3ygblLY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502044AbgDNQuh (ORCPT + 99 others); Tue, 14 Apr 2020 12:50:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:55398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440461AbgDNQtg (ORCPT ); Tue, 14 Apr 2020 12:49:36 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4430721734; Tue, 14 Apr 2020 16:49:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586882975; bh=IyXCB/Gshsv4ZXplxm2A4QdYz94WdQJKVQgSgbKpCKM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c3ygblLYHiQj0KT4ClT3lOIBQHUjnegalr3hSYM7yhnaTDT4EE9DN9LgmHZO/cozL k+07MGyGtLqs2b6vmjWaYdWrj3lTeaAylhT/QkROuQ1siRhjfJ4v1o+SE2Mq2I27DL UDxk3Xmkxd+dqrAgrll8iZOhHfZPnkPsHPKAeMT8= From: Arnaldo Carvalho de Melo To: Ingo Molnar , Thomas Gleixner Cc: Jiri Olsa , Namhyung Kim , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , Daniel Stone , Lyude Paul Subject: [PATCH 11/15] tools headers UAPI: Update tools's copy of drm.h headers Date: Tue, 14 Apr 2020 13:48:50 -0300 Message-Id: <20200414164854.26026-12-acme@kernel.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200414164854.26026-1-acme@kernel.org> References: <20200414164854.26026-1-acme@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo Picking the changes from: 455e00f1412f ("drm: Add getfb2 ioctl") Silencing these perf build warnings: Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h' diff -u tools/include/uapi/drm/drm.h include/uapi/drm/drm.h Now 'perf trace' and other code that might use the tools/perf/trace/beauty autogenerated tables will be able to translate this new ioctl code into a string: $ tools/perf/trace/beauty/drm_ioctl.sh > before $ cp include/uapi/drm/drm.h tools/include/uapi/drm/drm.h $ tools/perf/trace/beauty/drm_ioctl.sh > after $ diff -u before after --- before 2020-04-14 09:28:45.461821077 -0300 +++ after 2020-04-14 09:28:53.594782685 -0300 @@ -107,6 +107,7 @@ [0xCB] = "SYNCOBJ_QUERY", [0xCC] = "SYNCOBJ_TRANSFER", [0xCD] = "SYNCOBJ_TIMELINE_SIGNAL", + [0xCE] = "MODE_GETFB2", [DRM_COMMAND_BASE + 0x00] = "I915_INIT", [DRM_COMMAND_BASE + 0x01] = "I915_FLUSH", [DRM_COMMAND_BASE + 0x02] = "I915_FLIP", $ Cc: Adrian Hunter Cc: Daniel Stone Cc: Jiri Olsa Cc: Lyude Paul Cc: Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo --- tools/include/uapi/drm/drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/include/uapi/drm/drm.h b/tools/include/uapi/drm/drm.h index 868bf7996c0f..808b48a93330 100644 --- a/tools/include/uapi/drm/drm.h +++ b/tools/include/uapi/drm/drm.h @@ -948,6 +948,8 @@ extern "C" { #define DRM_IOCTL_SYNCOBJ_TRANSFER DRM_IOWR(0xCC, struct drm_syncobj_transfer) #define DRM_IOCTL_SYNCOBJ_TIMELINE_SIGNAL DRM_IOWR(0xCD, struct drm_syncobj_timeline_array) +#define DRM_IOCTL_MODE_GETFB2 DRM_IOWR(0xCE, struct drm_mode_fb_cmd2) + /** * Device specific ioctls should only be in their respective headers * The device specific ioctl range is from 0x40 to 0x9f. -- 2.21.1