Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2876955rwb; Mon, 15 Aug 2022 13:07:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR7/Ut+fZhIMTXXzxmLTK1fhHr3jNa8+D1Yd2lw+LEF1pgSawnMkgAVjcwWiSFL8hmbO7Ymx X-Received: by 2002:a17:902:f688:b0:16f:28:ea27 with SMTP id l8-20020a170902f68800b0016f0028ea27mr17956505plg.151.1660594067709; Mon, 15 Aug 2022 13:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660594067; cv=none; d=google.com; s=arc-20160816; b=vJV8oSgcBJk48UnNzohib5sdDofQpGMJEJKhDGQexpu0DXpRUfDuNwdyeafGXVQb+T tB2xra8OekwrGXesaGI8NUM3UNyDqDabiTHeyG+ubvoIgD4OHnBGPxGZ5l3DwD+Gxk5q XbJFWwFlJBEXVr+WyoFLK/0KX/Nm8A4ryqp5LUpgUGlYpL0vncfaPWbHH4eq4V936a0b 5WBRSH1SKwwrCIQs/gPJDj/6w+uMcBwt7K3P+fUsCDkScvZM2aXNm+7/3Gvov2iwa9zO YvbDKq5fXwgXJTZKRylkciCP3p1UApj2ePKe4GZ8bp+DjNbtNtbEioeRjffsmdciD/zc ohaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6unlokqo5NyZxl35Rit1L9e9+1qdv72JDf1fnI/eGIk=; b=aSEiuJAMAMVHg95XhMT9jdfgqMLy6dD1mf3f9ymf8TYoXE5SlpJOtjSubL4OlHJ2kY cYiynwnzxaoR+1WHrJaOZbluR03BCeHHakM9g7EKgxvJj/6yPqEOjlTLesaYxSEByn/l CABbcFzf2Awbj/c9PcoYXc+xfQpIMGDwgDbFt16soXOALa51BEQv5TywbLxB0icHGAHf bW/qbHvYAgI1+obyaGdFbF0Nw5TD+SgXSrw4e7Hc+a9tca9TU3UtVSe5hUZw2BPeJhkL kXpU0PdwIAKd2kZJ84SsCc4ATqgrvUoQypYpVeqbZYwOa4We5VuERUK186u9JTvfKlsf ioyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="IC0o/z95"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a63ea47000000b0041cc49d9b11si12270363pgk.240.2022.08.15.13.07.35; Mon, 15 Aug 2022 13:07:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="IC0o/z95"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239920AbiHOSUB (ORCPT + 99 others); Mon, 15 Aug 2022 14:20:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239714AbiHOSSw (ORCPT ); Mon, 15 Aug 2022 14:18:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA8DC2AE11; Mon, 15 Aug 2022 11:16:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 325C361290; Mon, 15 Aug 2022 18:16:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 309D7C433D7; Mon, 15 Aug 2022 18:16:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587374; bh=s7UlpMwTs1CItbkC0akguoqCNt4uXYEg3xOEljhn0+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IC0o/z95LaSIP1STqzsGp873tB/OQWpw8+P/wwQ+Z/gcNZgO7QL4Ec7ILkrGvBEHh DVbUQUeXWyHDjxA+Ld2EgvaFWAHmlviLHX7o6BfEMMe5Fg+GRRmbKm+ZC7uL8AQa+Q 1qiJnxn48IwvhGRLpkQxx+7B6Wxr0Xcjla7mJFao= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lyude Paul , David Airlie Subject: [PATCH 5.15 066/779] drm/nouveau/acpi: Dont print error when we get -EINPROGRESS from pm_runtime Date: Mon, 15 Aug 2022 19:55:10 +0200 Message-Id: <20220815180340.098324985@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lyude Paul commit 53c26181950ddc3c8ace3c0939c89e9c4d8deeb9 upstream. Since this isn't actually a failure. Signed-off-by: Lyude Paul Reviewed-by: David Airlie Fixes: 79e765ad665d ("drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early") Cc: # v4.19+ Link: https://patchwork.freedesktop.org/patch/msgid/20220714174234.949259-2-lyude@redhat.com Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/nouveau/nouveau_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -540,7 +540,7 @@ nouveau_display_acpi_ntfy(struct notifie * it's own hotplug events. */ pm_runtime_put_autosuspend(drm->dev->dev); - } else if (ret == 0) { + } else if (ret == 0 || ret == -EINPROGRESS) { /* We've started resuming the GPU already, so * it will handle scheduling a full reprobe * itself