Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1541911lqe; Mon, 8 Apr 2024 11:55:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUnepYuz3/r/ReEzbQ3rT6SQ4lvC7VCXOk7KMOp3/84GDBQFGMmBji0DhvbbdTEcp0yYLWOBdwDeKnJKu30ixvHChmjtcKWWnPg8FVQBw== X-Google-Smtp-Source: AGHT+IFa9k4xCpITxEQHZOmLwZPewBboGud9HVpSHJlbd6h0YdzOF9LDF1jd1hKWxFT8xts0DPDs X-Received: by 2002:a05:6870:3406:b0:22e:d092:28e with SMTP id g6-20020a056870340600b0022ed092028emr7910459oah.33.1712602537325; Mon, 08 Apr 2024 11:55:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712602537; cv=pass; d=google.com; s=arc-20160816; b=ehpA6Hn8/elDxeq3tLzuEuSy+ErIgnSdmyjBi+JZHJdCM6/0afZ+SvjB2evMJ5xaiP 6RGmBims9stU7EM4zgniXJkh+t7QlaTfhvoWAIv0+U6dFXDT6mBMD9+V/iTanTDIglXp CHrcdygQ+tUgaLjaz+NFVE0NcYhskceV9vWhqp6NoniFnakd1PztRAFRyvdN0W2mcOlX lEzUBHYCwMEFvLk0NUFnoMCMGd02BfJ0lZEEIMNMdyI77uaa4/5Lpaa5B1v4ibf9Dvax nyGurMwlT3g8fmIL3x1ezw8fyDmUqEBYWmzpzuMEoIWIY543Ba7czUVd+1L+QVpr84Be OVrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=lkuZwFaP0eTqaFt1LfLpzFDPfVHmSRlEmExbPvriFUg=; fh=8/jmy0h2TDc1yl+Ui5OVGc9Jb55x/mm0BFJhpqw+HXU=; b=yVz3II2SDZvunl1g+pQhFId8qaQ/XEtlamlE7LGNfOCs8+GahUSyuDQESfOH2/QPJq bNfz8uIgYXiFLhc8vkDwqTMTOxfsbJCwAqD4f03SwV9RJgbXyI8mzHY06WOlvvoiGnOn 0ZVLBCsYhENwQqMLdFsACsmlwCZB4M8SD4qwsAg2hnGmMyt6VB2QUbbs/2BtfQ1sXRNm 4cxZhddt5QP9YP2d1x/Jg+WfQfyU4r35W+abXSLKOQaGS+hbKCE8oeeMpWU45EvVwE2b JGZTU6jE/WCZ56p1/ZbKHexKhFVGsJwOrN9r9fMjcert++wLhKR8/ta1cjQVLiWfl+ZO tCTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FY0RjRKu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g12-20020a63520c000000b005f3fe381a10si5502105pgb.474.2024.04.08.11.55.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 11:55:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FY0RjRKu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135845-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D7B75284DA8 for ; Mon, 8 Apr 2024 18:55:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57C66145331; Mon, 8 Apr 2024 18:55:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FY0RjRKu" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CB1F1448FB; Mon, 8 Apr 2024 18:55:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712602522; cv=none; b=SaAX5w3GFVqWh9BBlEKaA83QyZcr420bF6e7ywgdqMnFlfRZjauaewaY8SBHuz44/FIH515SL2uiyGN4pxdX3aygR4Pf7egFBsMlGH9QNA8g72+hTTJa2THIrRMoxfF3X9eItJndam1p1PZaxE1J8wIF1j11HXNKk0oN5jy71tw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712602522; c=relaxed/simple; bh=a35qe99T0ty/qo/ABfWr3rySxoEPvBFi4B3MDRC+sK0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dp+rjGeEazAwveM+i6BziwByZguQu7FA/T4EE7GwLEY2yAy14+/HSu7YdXnF8/AwyFJPVAq/6PYA9YTTTsGw69n6cohdiha0/CgJJ87JUJKkYw1uGibWNl3b7ttkcF3Gxh5S9Jr6sjVDdqVrQf6hzp+3bb22IxVNQ5WM2rV8CJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FY0RjRKu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C4ECC433A6; Mon, 8 Apr 2024 18:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712602522; bh=a35qe99T0ty/qo/ABfWr3rySxoEPvBFi4B3MDRC+sK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FY0RjRKufGT3vRk0kkLSo0GAMdzzXJtqvbI/jK2bsN2IIeTf7Fwbpa2oij+7EKGr6 QcJukV11+g9JvtPOMr5Cbq2aRi3rCgcRH1o2iOOo/emrisMWi8h7V/K62vSTe5urBo dout4fC9OBY11y9IjcD95Ys6jt00sW9oA+HNiqF2VuQMuhafksmVGpSaEvyKOgTY7O e4uYFc3Bhdvuh/ZM5H4ZdSW7as2p30fK3XITIkWFIaWjTGxYtevfTdjpvLCwldFXeg MqalayoD2SYf+bFD9VScUhEFoxuYLsiZtN2pDaoW/xnYwvioGDTkRhprKUeJeH3lG3 U/QpQ0yuNeHLg== From: Namhyung Kim To: Arnaldo Carvalho de Melo , Ian Rogers , Kan Liang Cc: Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [PATCH 1/9] tools/include: Sync uapi/drm/i915_drm.h with the kernel sources Date: Mon, 8 Apr 2024 11:55:12 -0700 Message-ID: <20240408185520.1550865-2-namhyung@kernel.org> X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog In-Reply-To: <20240408185520.1550865-1-namhyung@kernel.org> References: <20240408185520.1550865-1-namhyung@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To pick up changes from: b112364867499 ("drm/i915: Add GuC submission interface version query") 5cf0fbf763741 ("drm/i915: Add some boring kerneldoc") This should be used to beautify DRM syscall arguments and it addresses these tools/perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/drm/i915_drm.h include/uapi/drm/i915_drm.h Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Namhyung Kim --- tools/include/uapi/drm/i915_drm.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tools/include/uapi/drm/i915_drm.h b/tools/include/uapi/drm/i915_drm.h index fd4f9574d177..2ee338860b7e 100644 --- a/tools/include/uapi/drm/i915_drm.h +++ b/tools/include/uapi/drm/i915_drm.h @@ -3013,6 +3013,7 @@ struct drm_i915_query_item { * - %DRM_I915_QUERY_MEMORY_REGIONS (see struct drm_i915_query_memory_regions) * - %DRM_I915_QUERY_HWCONFIG_BLOB (see `GuC HWCONFIG blob uAPI`) * - %DRM_I915_QUERY_GEOMETRY_SUBSLICES (see struct drm_i915_query_topology_info) + * - %DRM_I915_QUERY_GUC_SUBMISSION_VERSION (see struct drm_i915_query_guc_submission_version) */ __u64 query_id; #define DRM_I915_QUERY_TOPOLOGY_INFO 1 @@ -3021,6 +3022,7 @@ struct drm_i915_query_item { #define DRM_I915_QUERY_MEMORY_REGIONS 4 #define DRM_I915_QUERY_HWCONFIG_BLOB 5 #define DRM_I915_QUERY_GEOMETRY_SUBSLICES 6 +#define DRM_I915_QUERY_GUC_SUBMISSION_VERSION 7 /* Must be kept compact -- no holes and well documented */ /** @@ -3566,6 +3568,20 @@ struct drm_i915_query_memory_regions { struct drm_i915_memory_region_info regions[]; }; +/** + * struct drm_i915_query_guc_submission_version - query GuC submission interface version + */ +struct drm_i915_query_guc_submission_version { + /** @branch: Firmware branch version. */ + __u32 branch; + /** @major: Firmware major version. */ + __u32 major; + /** @minor: Firmware minor version. */ + __u32 minor; + /** @patch: Firmware patch version. */ + __u32 patch; +}; + /** * DOC: GuC HWCONFIG blob uAPI * -- 2.44.0.478.gd926399ef9-goog