From patchwork Thu Apr 5 10:02:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: sagar.a.kamble@intel.com X-Patchwork-Id: 10324261 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5AF95600CB for ; Thu, 5 Apr 2018 10:02:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B4FF290D7 for ; Thu, 5 Apr 2018 10:02:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40334290DD; Thu, 5 Apr 2018 10:02:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3E730290D7 for ; Thu, 5 Apr 2018 10:02:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 83E166E711; Thu, 5 Apr 2018 10:02:38 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id C09236E717 for ; Thu, 5 Apr 2018 10:02:36 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2018 03:02:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,410,1517904000"; d="scan'208";a="188859023" Received: from sakamble-mobl.gar.corp.intel.com (HELO [10.223.178.72]) ([10.223.178.72]) by orsmga004.jf.intel.com with ESMTP; 05 Apr 2018 03:02:34 -0700 To: intel-gfx@lists.freedesktop.org, Patchwork , Michal Wajdeczko References: <20180404210724.3416-1-michal.wajdeczko@intel.com> <20180405003311.12679.89669@emeril.freedesktop.org> From: Sagar Arun Kamble Message-ID: Date: Thu, 5 Apr 2018 15:32:33 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180405003311.12679.89669@emeril.freedesktop.org> Content-Language: en-US Subject: Re: [Intel-gfx] =?utf-8?b?4pyXIEZpLkNJLklHVDogZmFpbHVyZSBmb3Igc2Vy?= =?utf-8?q?ies_starting_with_=5Bv6=2C01/12=5D_drm/i915=3A_Correctly_handle?= =?utf-8?q?_error_path_in_i915=5Fgem=5Finit=5Fhw?= X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 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" X-Virus-Scanned: ClamAV using ClamSMTP On 4/5/2018 6:03 AM, Patchwork wrote: > == Series Details == > > Series: series starting with [v6,01/12] drm/i915: Correctly handle error path in i915_gem_init_hw > URL : https://patchwork.freedesktop.org/series/41159/ > State : failure > > == Summary == > > ---- Possible new issues: > > Test gem_eio: > Subgroup execbuf: > pass -> INCOMPLETE (shard-apl) I am seeing this failure w/o this patch series too. Working fix  that I have tried is to unpark from reset path explicitly if GT is awake: This way we will balance the irq refcounts. > Subgroup in-flight-external: > pass -> INCOMPLETE (shard-apl) > Subgroup throttle: > pass -> INCOMPLETE (shard-apl) > Test perf: > Subgroup gen8-unprivileged-single-ctx-counters: > pass -> FAIL (shard-apl) > > ---- Known issues: > > Test drv_missed_irq: > pass -> SKIP (shard-apl) fdo#103199 > Test gem_eio: > Subgroup in-flight-suspend: > pass -> INCOMPLETE (shard-apl) fdo#103375 > Subgroup suspend: > pass -> INCOMPLETE (shard-apl) fdo#103927 +1 > Test kms_flip: > Subgroup 2x-flip-vs-expired-vblank: > fail -> PASS (shard-hsw) fdo#102887 +1 > Subgroup plain-flip-ts-check-interruptible: > fail -> PASS (shard-hsw) fdo#100368 +1 > Test kms_sysfs_edid_timing: > warn -> PASS (shard-apl) fdo#100047 > > fdo#103199 https://bugs.freedesktop.org/show_bug.cgi?id=103199 > fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375 > fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927 > fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887 > fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368 > fdo#100047 https://bugs.freedesktop.org/show_bug.cgi?id=100047 > > shard-apl total:2701 pass:1404 dwarn:1 dfail:0 fail:6 skip:1274 time:6843s > shard-hsw total:3499 pass:1786 dwarn:1 dfail:0 fail:1 skip:1710 time:11567s > shard-snb total:3499 pass:1378 dwarn:1 dfail:0 fail:2 skip:2118 time:7127s > Blacklisted hosts: > shard-kbl total:2429 pass:1334 dwarn:4 dfail:0 fail:6 skip:1065 time:4018s > > == Logs == > > For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8581/shards.html > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index d354627..2fc9d0e 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -1960,6 +1960,9 @@ void i915_reset(struct drm_i915_private *i915)                 goto error;         } +       if (i915->gt.awake) +               intel_engines_unpark(i915); +         i915_queue_hangcheck(i915);  finish: