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 27884C282D2 for ; Tue, 4 Mar 2025 15:11:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D7DA410E629; Tue, 4 Mar 2025 15:11:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="WcTYZ/l1"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id DFF6010E622 for ; Tue, 4 Mar 2025 15:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1741101066; x=1772637066; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=Ki53LyeigunjHjaAZ25Fi6ja+GEbF47umSv5QDVyUJc=; b=WcTYZ/l1BlXx2/IZUk9C5l2AGpaojf42qJF+dvkLIwUoAUbIWRTwMGao lb13QLjzo4knlcGt9LBpbSF7bFI1z9H/z4A06LdDSQ8yshNQTUc4P91U0 zNKpADBAU22rBBpQwfVPq8OLaju8CQ+0nK2lQsPk1EANyWWA04PoU5hdt n+SXXBEdjQZ167wmDvo+aKFLi6iC+X3MibVKHRh6l5+ejcfbuUuDUdooh igbrPaz7DqOlOnBrdvtiOQhGt9qkRZQHh7TlvmPvZLZAIvA8odx4v3R03 9xABkRfaG3pMIPtG/9MxWgxNoqJ+qVMUKdYdN6Cbj6XOzGs3O4RSBesya Q==; X-CSE-ConnectionGUID: guTq7LAOSS2mmWW9AUH/rg== X-CSE-MsgGUID: O2cWs4KZRtKR+zXGno723g== X-IronPort-AV: E=McAfee;i="6700,10204,11363"; a="42216600" X-IronPort-AV: E=Sophos;i="6.14,220,1736841600"; d="scan'208";a="42216600" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2025 07:11:06 -0800 X-CSE-ConnectionGUID: yxXhDmrTStqd4gOtKLGwxg== X-CSE-MsgGUID: Vbv0YtJoTt2xNfA8hGBbHQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="123602405" Received: from orsosgc001.jf.intel.com (HELO orsosgc001.intel.com) ([10.165.21.142]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2025 07:11:06 -0800 Date: Tue, 04 Mar 2025 07:11:05 -0800 Message-ID: <85a5a06dbq.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa Cc: Subject: Re: [PATCH i-g-t v2 08/14] tests/intel/xe_oa: Simplify the buffer-fill test In-Reply-To: <87cyextzaf.wl-ashutosh.dixit@intel.com> References: <20250303231502.135720-1-umesh.nerlige.ramappa@intel.com> <20250303231502.135720-9-umesh.nerlige.ramappa@intel.com> <87cyextzaf.wl-ashutosh.dixit@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/28.2 (x86_64-redhat-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: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" On Mon, 03 Mar 2025 16:28:08 -0800, Dixit, Ashutosh wrote: > > On Mon, 03 Mar 2025 15:14:56 -0800, Umesh Nerlige Ramappa wrote: > > > > static struct intel_xe_perf_metric_set *metric_set(const struct drm_xe_engine_class_instance *hwe) > > { > > @@ -1092,6 +1093,7 @@ init_sys_info(void) > > > > rc_width = 1920; > > rc_height = 1080; > > + buffer_fill_size = SZ_16M; > > Sorry, missed this earlier. Note that there is a default_oa_buffer_size, > just below. Can we use that or we need this new buffer_fill_size variable? > > The kernel will return a constant default_oa_buffer_size of 16 M (at least > for now). > > We can fix this later too if needed, so not need to spin a new version for > now for this. We can do this if we see any other reason for a new version, > till now doesn't look like it. Sorry, this is not an issue, buffer_fill_size is used to set an OA buffer size. So presumably it can be reduced for slower platforms. > > > oa_exponent_default = max_oa_exponent_for_period_lte(1000000); > > > > default_oa_buffer_size = get_default_oa_buffer_size(drm_fd);