From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8F10310E042 for ; Tue, 18 Jul 2023 18:28:31 +0000 (UTC) Date: Tue, 18 Jul 2023 11:28:29 -0700 Message-ID: <87cz0phy5u.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Badal Nilawar In-Reply-To: <87edl5hybs.wl-ashutosh.dixit@intel.com> References: <20230718111736.3324211-1-badal.nilawar@intel.com> <87edl5hybs.wl-ashutosh.dixit@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [PATCH i-g-t v3] tests/xe: Verify actual frequency on the basis of GT state List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Tue, 18 Jul 2023 11:24:55 -0700, Dixit, Ashutosh wrote: > > Sorry I missed this yesterday. Basically why do we have the > igt_wait(xe_is_gt_in_c6()) above at the top when we are waking up the gt > when reading cur freq later? > > Maybe instead of this usleep, we can this do here: > > igt_assert(igt_wait(xe_is_gt_in_c6(fd, gt_id), 1000, 1)); Actually, maybe: igt_assert(igt_wait(xe_is_gt_in_c6(fd, gt_id), 1000, 10)); > > And get rid of the igt_require(igt_wait()) at the top? > > Thanks. > -- > Ashutosh