Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B2476CD6E6E for ; Wed, 11 Oct 2023 13:59:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 778D910E50D; Wed, 11 Oct 2023 13:59:43 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id BC54610E504 for ; Wed, 11 Oct 2023 13:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697032780; x=1728568780; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=V5I0oD8+DHbMfnRTdAxe/7tDuzfsMogC0uVJlOjnAH4=; b=XXjQdwO9drKTi8VHqe0AZDkULT0zyYB8z1ME3+iD2hxB3W1ycXN0Bgsv x7ywHI7l+6oXRkZBfLeWz4lnngI9ODPyf8FmI5opjka9rmQXF2NczsC8Z UhPpWUcenUP+v555PQZ3G7mdWHe/DstgqxIw5XhPLI+R/tOiLMRID/Rd5 F9mey/szQPgl8LhtmuaPFC5lWEB7usHPei11p17GNYodleqNR8T6UYGqR /m84S7I/A5Kh1e8HiEh4bl/qpMOT0nVpRehum5V6xmqnO6JXv7zAWWxYe +1X3X3Yj2WK7XtBI9mYekZc4AiB/+gDQ7mwrwl4l0rKxAv0wkh/xVwISk Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10860"; a="451156201" X-IronPort-AV: E=Sophos;i="6.03,216,1694761200"; d="scan'208";a="451156201" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 06:59:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10860"; a="753829002" X-IronPort-AV: E=Sophos;i="6.03,216,1694761200"; d="scan'208";a="753829002" Received: from stahadie-mobl4.amr.corp.intel.com (HELO localhost.localdomain) ([10.249.36.91]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 06:59:38 -0700 From: Francois Dugast To: intel-xe@lists.freedesktop.org Date: Wed, 11 Oct 2023 13:59:12 +0000 Message-Id: <20231011135926.7-4-francois.dugast@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231011135926.7-1-francois.dugast@intel.com> References: <20231011135926.7-1-francois.dugast@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [RFC v1 03/17] drm/xe: Extend drm_xe_vm_bind_op X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Francois Dugast , Lucas De Marchi , Rodrigo Vivi Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" From: Mika Kuoppala The bind api is extensible but for a single bind op, there is not a mechanism to extend. Add extensions field to struct drm_xe_vm_bind_op. Cc: Rodrigo Vivi Cc: Matthew Brost Cc: Lucas De Marchi Cc: Francois Dugast Cc: Joonas Lahtinen Cc: Dominik Grzegorzek Signed-off-by: Mika Kuoppala --- include/uapi/drm/xe_drm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h index a7b10cc33df3..47d2d0468339 100644 --- a/include/uapi/drm/xe_drm.h +++ b/include/uapi/drm/xe_drm.h @@ -656,6 +656,9 @@ struct drm_xe_vm_destroy { }; struct drm_xe_vm_bind_op { + /** @extensions: Pointer to the first extension struct, if any */ + __u64 extensions; + /** * @obj: GEM object to operate on, MBZ for MAP_USERPTR, MBZ for UNMAP */ -- 2.34.1