Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id E2B59AE767 for ; Mon, 18 Jul 2022 09:32:14 +0000 (UTC) Message-ID: Date: Mon, 18 Jul 2022 15:01:54 +0530 Content-Language: en-US To: Nidhi Gupta , References: <20220718092329.13975-1-nidhi1.gupta@intel.com> From: "Modem, Bhanuprakash" In-Reply-To: <20220718092329.13975-1-nidhi1.gupta@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH i-g-t v3] tests/i915/kms_frontbuffer_tracking: Increase the poll timeout for simulation platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Mon-18-07-2022 02:53 pm, Nidhi Gupta wrote: > Currently the poll timeout value is 1000ms which is very less for > simulation, hence increased it to 10000ms. > > Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/6435 It seems, you tagged a wrong issue. - Bhanu > Signed-off-by: Nidhi Gupta > Reviewed-by: Karthik B S > --- > tests/i915/kms_frontbuffer_tracking.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tests/i915/kms_frontbuffer_tracking.c b/tests/i915/kms_frontbuffer_tracking.c > index 814ddb46..248ff36b 100644 > --- a/tests/i915/kms_frontbuffer_tracking.c > +++ b/tests/i915/kms_frontbuffer_tracking.c > @@ -36,6 +36,8 @@ > #include "igt_sysfs.h" > #include "igt_psr.h" > > +#define TIME SLOW_QUICK(1000, 10000) > + > IGT_TEST_DESCRIPTION("Test the Kernel's frontbuffer tracking mechanism and " > "its related features: FBC, PSR and DRRS"); > > @@ -2306,7 +2308,7 @@ static void wait_flip_event(void) > pfd.events = POLLIN; > pfd.revents = 0; > > - rc = poll(&pfd, 1, 1000); > + rc = poll(&pfd, 1, TIME); > switch (rc) { > case 0: > igt_assert_f(false, "Poll timeout\n");