From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8478989F71 for ; Tue, 21 Apr 2020 20:06:30 +0000 (UTC) References: <20200421182237.7743-1-umesh.nerlige.ramappa@intel.com> From: Lionel Landwerlin Message-ID: <5559c6ff-8cba-7f84-0490-879a5dc3e2dc@intel.com> Date: Tue, 21 Apr 2020 23:06:27 +0300 MIME-Version: 1.0 In-Reply-To: <20200421182237.7743-1-umesh.nerlige.ramappa@intel.com> Content-Language: en-US Subject: Re: [igt-dev] [PATCH i-g-t] tests/perf: Fix B0 counter check in gen12-mi-rpc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Umesh Nerlige Ramappa , igt-dev@lists.freedesktop.org, Ashutosh Dixit List-ID: On 21/04/2020 21:22, Umesh Nerlige Ramappa wrote: > The gen12-mi-rpc test checks for B0 counter to be zero, however, > occassionally the counter reads a non-zero value. To ensure the test > works as expected, we check B0 with the preset value. What the value being reported? Sounds like we should ask around see if there isn't a deeper problem with the HW configuration. -Lionel > > Signed-off-by: Umesh Nerlige Ramappa > Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/1085 > --- > tests/perf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/perf.c b/tests/perf.c > index b7d5e50e..9d0ed45c 100644 > --- a/tests/perf.c > +++ b/tests/perf.c > @@ -3002,7 +3002,7 @@ gen12_test_mi_rpc(void) > */ > igt_assert_eq(report32[0], REPORT_ID); > igt_assert_neq(report32[1], 0); > - igt_assert_eq(report32[format.b_off >> 2], 0); > + igt_assert_neq(report32[format.b_off >> 2], 0x80808080); > igt_assert_eq(report32[format_size_32], 0x80808080); > > drm_intel_bo_unmap(bo); _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev