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 4666BC54FB9 for ; Thu, 16 Nov 2023 14:43:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C69810E603; Thu, 16 Nov 2023 14:43:32 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2FB1F10E603 for ; Thu, 16 Nov 2023 14:43:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700145808; x=1731681808; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NVq9gG2dilNOW2Ibkn65VDkpiCgRK5uk5MIpmF6EQrg=; b=OPhsrZO55nZFlOMnV3VASiQnoY3heb5zchVpKN5/ONFSm92uktQ0Zl4I F/+v9YF/yOw6+lBKVMvqbCynILjEgMwmd2F6jR+Bgr/ftUxGh+bd5ScWZ gEcCK7pF5BOBvNLWKK7hbI4UYxRyEiA/gddfKzfbp3l5qOGXkowY49n+f Cn5+XXDEm/2xp6xJ33+N6wjnmGSYGrPiEnONd3ijj1L3vDNUFlCYebk0I MggGR18dOj5xPNePvTZV1sWYOW/e+o/RyeBK2Xx7bukAv/PA/LID61bGQ xUg2wIjIF7YSstSmCgdOy8elqTAiSFzTBAH5v3wquoJnJH7iECzAfKzwU Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="389958470" X-IronPort-AV: E=Sophos;i="6.04,308,1695711600"; d="scan'208";a="389958470" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2023 06:43:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="765310668" X-IronPort-AV: E=Sophos;i="6.04,308,1695711600"; d="scan'208";a="765310668" Received: from nitishpa-mobl2.gar.corp.intel.com (HELO 7194aa40b138.intel.com) ([10.251.218.100]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2023 06:43:25 -0800 From: Francois Dugast To: intel-xe@lists.freedesktop.org Date: Thu, 16 Nov 2023 14:43:09 +0000 Message-Id: <20231116144316.7-2-francois.dugast@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231116144316.7-1-francois.dugast@intel.com> References: <20231116144316.7-1-francois.dugast@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH v1 1/8] 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 Signed-off-by: Francois Dugast --- 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 d66e8dc72e96..eb53c7a367a1 100644 --- a/include/uapi/drm/xe_drm.h +++ b/include/uapi/drm/xe_drm.h @@ -613,6 +613,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