From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8736E10E3E8 for ; Tue, 26 Sep 2023 13:01:24 +0000 (UTC) From: Francois Dugast To: igt-dev@lists.freedesktop.org Date: Tue, 26 Sep 2023 13:00:44 +0000 Message-Id: <20230926130054.6-15-francois.dugast@intel.com> In-Reply-To: <20230926130054.6-1-francois.dugast@intel.com> References: <20230926130054.6-1-francois.dugast@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH v3 14/24] drm-uapi/xe: Fix naming of XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rodrigo Vivi Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Rodrigo Vivi Align with kernel commit ("drm/xe/uapi: Fix naming of XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY") Signed-off-by: Rodrigo Vivi Signed-off-by: Francois Dugast --- include/drm-uapi/xe_drm.h | 4 ++-- tests/intel/xe_query.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h index a0310dbe0..02279b791 100644 --- a/include/drm-uapi/xe_drm.h +++ b/include/drm-uapi/xe_drm.h @@ -331,8 +331,8 @@ struct drm_xe_query_config { #define XE_QUERY_CONFIG_VA_BITS 3 #define XE_QUERY_CONFIG_GT_COUNT 4 #define XE_QUERY_CONFIG_MEM_REGION_COUNT 5 -#define XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY 6 -#define XE_QUERY_CONFIG_NUM_PARAM (XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY + 1) +#define XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY 6 +#define XE_QUERY_CONFIG_NUM_PARAM (XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY + 1) /** @info: array of elements containing the config info */ __u64 info[]; }; diff --git a/tests/intel/xe_query.c b/tests/intel/xe_query.c index e0d14966b..17215fd72 100644 --- a/tests/intel/xe_query.c +++ b/tests/intel/xe_query.c @@ -380,8 +380,8 @@ test_query_config(int fd) config->info[XE_QUERY_CONFIG_GT_COUNT]); igt_info("XE_QUERY_CONFIG_MEM_REGION_COUNT\t%llu\n", config->info[XE_QUERY_CONFIG_MEM_REGION_COUNT]); - igt_info("XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY\t%llu\n", - config->info[XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY]); + igt_info("XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY\t%llu\n", + config->info[XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY]); dump_hex_debug(config, query.size); free(config); -- 2.34.1