From patchwork Mon Nov 14 12:38:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gupta, Anshuman" X-Patchwork-Id: 13042233 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 3DA1EC433FE for ; Mon, 14 Nov 2022 12:39:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8CC6410E01F; Mon, 14 Nov 2022 12:39:03 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 86F3C10E01F for ; Mon, 14 Nov 2022 12:39: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=1668429541; x=1699965541; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=31ZHXwqn9CeExrCyryUXIoTsetuAckNiHyB86lafr4o=; b=Sl16J2yCnfOQY840VMQbbUvIRI+ZKs93pimTNOUfeQPih75QDWdOTcif 6aACDEcMcvaxqZKqgDaKU9TAVYpZvF6wWJTIsOKt5uUKn8DNMtiqgycXl MOaigJUw9c0pd4ZJh/HPbsgi6OLXmh4rXg/tY+DqTyhA7Oaz3yFLAtcod Sj2O2ShrliQHLjomGOohyJW3HptVY9FUv5I4MjIC485pmRPUml0xLZ72M OHiFd9Av2G9i1r0aRf96fn7/MwcjXVrsBFEsyoX54uH2nM9aOjtq0cZ89 +qbNEIXejl+7rqL4ufitccUlHB3FS/3UdcIlzxzmvinrzdYSzfMzj2HAh A==; X-IronPort-AV: E=McAfee;i="6500,9779,10530"; a="299476476" X-IronPort-AV: E=Sophos;i="5.96,161,1665471600"; d="scan'208";a="299476476" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2022 04:39:00 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10530"; a="701990002" X-IronPort-AV: E=Sophos;i="5.96,161,1665471600"; d="scan'208";a="701990002" Received: from anshuma1-desk.iind.intel.com ([10.190.239.112]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2022 04:38:58 -0800 From: Anshuman Gupta To: intel-gfx@lists.freedesktop.org Date: Mon, 14 Nov 2022 18:08:40 +0530 Message-Id: <20221114123843.880902-1-anshuman.gupta@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t v2 0/3] Cold Reset IGT Test 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: , Cc: rodrigo.vivi@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Cold Reset IGT Test. v2: Address some review comments from Kamil and Badal. Anshuman Gupta (3): lib/igt_pm: Refactor get firmware_node fd test/device_reset: Refactor initiate_device_reset tests/device_reset: Add cold reset IGT test lib/igt_pm.c | 76 ++++++++++++++++++++---- lib/igt_pm.h | 1 + tests/device_reset.c | 138 +++++++++++++++++++++++++++++++++++++++---- 3 files changed, 191 insertions(+), 24 deletions(-)