From mboxrd@z Thu Jan 1 00:00:00 1970 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 64EAFC77B7F for ; Tue, 24 Jun 2025 20:06:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E7CF910E0F2; Tue, 24 Jun 2025 20:06:32 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="njVmulDm"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4E7F410E035 for ; Tue, 24 Jun 2025 20:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1750795591; x=1782331591; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=YdqIuxHoSaNZmX25HqaJJhnOHWKPVnS5r8Y4nVqwEs4=; b=njVmulDmKGjdSLYxbVGp4do6LlqfLfrmV7kmorLZkvoabUcVzf1dDZ9v DnFDfCj6mHmhxe6N+ps9FPQK/Di0SFTmGjVO7aA1ZA93VZBkltQWiplnW QGQXwRJi45fAl+Mr51kbtDwTjZ3sLB54M1BZqJyCC0BoURq+93mPdYubi ejS28tZoITs0uxRmR6fHLDr+yDzu+G6btFkdiuishI/qDm3v5sWlPWr7E iTfxnOhvp6LV/AU5ZFSLzJeQtbgy15vowRojFqIOfdNLz+YCZ11GE7W2H +vIVqUJQ/KFh+oyu2/5ADJAikzofkTbcXhGMr6Hkh7lI5xVscwliyzLK7 g==; X-CSE-ConnectionGUID: slzp6FIUSBSdCmKxUKjjtw== X-CSE-MsgGUID: O8ETYHk5TYqn2q3hqK+6/w== X-IronPort-AV: E=McAfee;i="6800,10657,11474"; a="75587189" X-IronPort-AV: E=Sophos;i="6.16,263,1744095600"; d="scan'208";a="75587189" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2025 13:06:31 -0700 X-CSE-ConnectionGUID: jR8RekfpT8W1ENHhJP1PBA== X-CSE-MsgGUID: XouM8IqOQM+4NI/ekAqPQw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,263,1744095600"; d="scan'208";a="152134737" Received: from tsnyder-mobl.amr.corp.intel.com (HELO adixit-MOBL3.intel.com) ([10.125.82.249]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2025 13:06:30 -0700 Date: Tue, 24 Jun 2025 13:06:29 -0700 Message-ID: <87wm9029bu.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Matthew Brost Cc: intel-xe@lists.freedesktop.org Subject: Re: [PATCH] drm/xe: Drop bo->size In-Reply-To: <20250624194654.2787356-1-matthew.brost@intel.com> References: <20250624194654.2787356-1-matthew.brost@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII 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: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Tue, 24 Jun 2025 12:46:54 -0700, Matthew Brost wrote: > > +/** > + * xe_bo_size() - Xe BO size > + * @bo: The bo to object. The bo object? > + * > + * Simple helper to return Xe BO's size. > + * > + * Return: Xe BO's size > + */ > +static inline size_t xe_bo_size(struct xe_bo *bo) > +{ > + return bo->ttm.base.size; > +} Rest looks good: Reviewed-by: Ashutosh Dixit