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 5DF59C4332F for ; Thu, 10 Nov 2022 17:22:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B437410E08C; Thu, 10 Nov 2022 17:22:04 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7F50610E08C for ; Thu, 10 Nov 2022 17:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668100921; x=1699636921; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=eIkPaQI1z5VitT5tX7FOEN/LeGV1Cpvw77P3Q+RH2gY=; b=Rv4kGSOu50iPmmNzsIlu0ZiUwUj+WLX2Ju5NnhcYou6bvQldXg76PipA VykuGEmwQj3ujRlzbbYHArWG0hic3rNZHKQpnrBMzvHE735GvRFdQpag7 7s0VuuIlqQFVWR1acVVHypbrqAdFayzirWFdYSi/YlmMHfE2bB/73GX+t siI3Hm2dQFgW1oSBjoRIxOINwY+KYguhZCSJQ5pDNd/eS5YWi9TckUMJO Wl54zPrwdTRrXXxYEuCpcBP20HqEoCOdCKX80BAgD0IH3wOf0iA6FfDMK Goffg1mTLev7y7N17zQz7eI1c1RL9Gg45qWk5bEFNq6QTMWH6MrSsgU+o A==; X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="397671658" X-IronPort-AV: E=Sophos;i="5.96,154,1665471600"; d="scan'208";a="397671658" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2022 09:19:19 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="639694214" X-IronPort-AV: E=Sophos;i="5.96,154,1665471600"; d="scan'208";a="639694214" Received: from dut042-dg2frd.fm.intel.com ([10.105.19.4]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2022 09:19:19 -0800 From: Umesh Nerlige Ramappa To: intel-gfx@lists.freedesktop.org Date: Thu, 10 Nov 2022 17:19:11 +0000 Message-Id: <20221110171913.670286-1-umesh.nerlige.ramappa@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-gfx] [PATCH v3 0/2] Fix live busy stats selftest failure X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Fix live busy stats selftest failure in BAT. The issue is seen more easily on DG1 runs. v2: (Tvrtko) In addition refactor intel_uncore_read64_2x32 to obtain the forcewake once before reading upper and lower register dwords. v3: (Ashutosh) Update commit msg Signed-off-by: Umesh Nerlige Ramappa Umesh Nerlige Ramappa (2): i915/uncore: Acquire fw before loop in intel_uncore_read64_2x32 drm/i915/selftest: Bump up sample period for busy stats selftest drivers/gpu/drm/i915/gt/selftest_engine_pm.c | 2 +- drivers/gpu/drm/i915/intel_uncore.h | 44 +++++++++++++------- 2 files changed, 31 insertions(+), 15 deletions(-) -- 2.25.1