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 6747BCF8547 for ; Wed, 2 Oct 2024 23:19:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D9F310E0E9; Wed, 2 Oct 2024 23:19:34 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="IJxIFPc1"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id B2EBA10E0E9 for ; Wed, 2 Oct 2024 23:19:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727911172; x=1759447172; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=WnDRpgHtb9vlZN84lQmO445kewS5zpwQcwP0Y1P6Snk=; b=IJxIFPc1IMiRnvrrluEGLxOJ8MrNmRobLxGjOHTKQBu5qYf8vuRVZNwc eXvZ13yhJ+Q4tvrko4NVyW8UwAxp9Y1WRNkruHWNai7XjwWthGVtBqtZl PGL7DurZiPZ1BEywaGFH22+WuhaTt+NkdIxiM0/5Y7/5HVB2kE5SGzeXR sFrZ7lNE3idxPiRBcReOiIC6vFOVSrH7i7rPssWAwSFC8OgwY2rerKTy4 TLy1ewa4Sr3gh19OgJXchWz0HQt5ygZE0EhEE10PlRE1j1j30MTziHLnV r5AJVzJH0CLJo+OQMDH5aalokaG1BWO8REs0LF4Gv0VgN+F6Y06P7BVZR g==; X-CSE-ConnectionGUID: AsFQyKa6TnG50UBLnmidyw== X-CSE-MsgGUID: Y68zh+bQSBGrdLEURB8c1A== X-IronPort-AV: E=McAfee;i="6700,10204,11213"; a="29966780" X-IronPort-AV: E=Sophos;i="6.11,173,1725346800"; d="scan'208";a="29966780" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2024 16:19:32 -0700 X-CSE-ConnectionGUID: iZ7gRZFOTiyxZtkPENMrQQ== X-CSE-MsgGUID: Z+fY+JWtS665i1HHODkXSQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,173,1725346800"; d="scan'208";a="79012750" Received: from orsosgc001.jf.intel.com (HELO orsosgc001.intel.com) ([10.165.21.138]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2024 16:19:32 -0700 Date: Wed, 02 Oct 2024 16:19:31 -0700 Message-ID: <85ploi6qkc.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa Cc: Subject: Re: [PATCH i-g-t] i915/drm_fdinfo: Quiesce GPU prior to running some tests In-Reply-To: <20241002212049.769042-1-umesh.nerlige.ramappa@intel.com> References: <20241002212049.769042-1-umesh.nerlige.ramappa@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 Wed, 02 Oct 2024 14:20:49 -0700, Umesh Nerlige Ramappa wrote: > > Sometimes render is still running a remnant of a prior workload when we > expect it to be idle. This throws some tests off. Ensure that these > tests wait for a quiescent state prior to checking if render is idle. > > Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12179 > Signed-off-by: Umesh Nerlige Ramappa Reviewed-by: Ashutosh Dixit Not related to this patch but little bit confusing, since I thought drm_fdinfo is driver/vendor agnostic. But this file is i915 specific? Should probably be named i915_fdinfo.c? Or if it's in intel/ directory should at least probably work for both i195 and xe? Anyway.