From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFD04C4167B for ; Thu, 10 Dec 2020 23:13:26 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 66A2022287 for ; Thu, 10 Dec 2020 23:13:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66A2022287 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C40136EB94; Thu, 10 Dec 2020 23:13:25 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id E46DC6EB94 for ; Thu, 10 Dec 2020 23:13:24 +0000 (UTC) IronPort-SDR: dk4A24CJ/2v0iNDnb2Ga9ZVDaPQaXh1vGgY11J/tp3k0dAoVKBGMmHqGKRD/hSuoM6bPUUcpeR rQUCbDfLlnSg== X-IronPort-AV: E=McAfee;i="6000,8403,9831"; a="170843489" X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="170843489" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 15:13:24 -0800 IronPort-SDR: K8TRc3oY2LQMbqB4NBEfkEhdwagG9i7QIxPuSgzR+Fo0+m7zrfmq/2k/tz92YtmyN9tGgFU3vf fOb+hW1l0LCg== X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="349089590" Received: from luciarga-mobl1.amr.corp.intel.com (HELO intel.com) ([10.212.59.234]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 15:13:23 -0800 Date: Thu, 10 Dec 2020 15:13:22 -0800 From: Rodrigo Vivi To: Chris Wilson Message-ID: <20201210231322.GA117137@intel.com> References: <20201210230741.17140-1-chris@chris-wilson.co.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201210230741.17140-1-chris@chris-wilson.co.uk> Subject: Re: [Intel-gfx] [PATCH] drm/i915/display: Go softly softly on initial modeset 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: , Cc: "H . J . Lu" , intel-gfx@lists.freedesktop.org, Dave Airlie Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Thu, Dec 10, 2020 at 11:07:41PM +0000, Chris Wilson wrote: > Reduce the module/device probe error into a mere debug to hide issues > where the initial modeset is failing (after lies told by hw probe) and > the system hangs with a livelock in cleaning up the failed commit. > = > Reported-by: H.J. Lu > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=3D210619 > Fixes: b3bf99daaee9 ("drm/i915/display: Defer initial modeset until after= GGTT is initialised") > Fixes: ccc9e67ab26f ("drm/i915/display: Defer initial modeset until after= GGTT is initialised") > Signed-off-by: Chris Wilson > Cc: "Ville Syrj=E4l=E4" > Cc: Rodrigo Vivi > Cc: H.J. Lu > Cc: Dave Airlie Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/intel_display.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > = > diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/d= rm/i915/display/intel_display.c > index c567c0cada7e..761be8deaa9b 100644 > --- a/drivers/gpu/drm/i915/display/intel_display.c > +++ b/drivers/gpu/drm/i915/display/intel_display.c > @@ -18755,7 +18755,7 @@ int intel_modeset_init(struct drm_i915_private *i= 915) > */ > ret =3D intel_initial_commit(&i915->drm); > if (ret) > - return ret; > + drm_dbg_kms(&i915->drm, "Initial modeset failed, %d\n", ret); > = > intel_overlay_setup(i915); > = > -- = > 2.20.1 > = _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx