Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2891624rwb; Mon, 15 Aug 2022 13:26:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR5f7ZZUSV2xbJYUK4V4+8kcDM3O8ShL7OW9+Pas3qFr5wyrE/fBrHjRvSlfT3PeWFbBGMoa X-Received: by 2002:a17:907:3ea5:b0:730:8b95:dc69 with SMTP id hs37-20020a1709073ea500b007308b95dc69mr11446566ejc.34.1660595173389; Mon, 15 Aug 2022 13:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660595173; cv=none; d=google.com; s=arc-20160816; b=cO6PnISLw/hdQLwItxWILuSr/l3T3qRrT0C6LAWqPkJT7abHJlNawqorUAThdG6ZWi wZCGvVyYaZhdoVh3X06T+YlRd9uHRq/uLf7UttGODLhUxJZRsNctacPX6RuIN94XriZs 7OwA5MbYSVERYIC4IRFuAUOSdaXaBCb7H81V9Efo+ZGp9bAYVtqpT2r9DETM/0WkZLPL 7Q0dSI7lKS/JHCpNZbSkETsm3oXhI6bcG6+yaryyrXv1WDBGyVADVvZAHuCOGpnwYTqR uF2+67eMI9DOHHTgcWArWW4o86egONsPfvo3EyYFQbtOZtLzMORjGYwCqntPly//897c itIQ== 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=RZIPdU3t+h+omCm/7/SfAMdX51svWIhAev/OiXArWLQ=; b=gavDvAyjqtACw3YgxiK43SP7wfqILqylaWOe31grD+Vu7sU9Y1snx0TenidmwAIpXB EDlWlJcQaoUZYB/ZMAfmLP92jwHltqvyLzjvPluXrM2XpVHXyeSyGCx7cCuhbi+FNzCO 7076TXXfzlo/AUPuj2tfTnJI5cDd3QIBQOkj23yf8B+VmCFGBpkWcl3fpU4zJg8ZoLvq 6zc8vdXxO/fiaCv0EVdyzM+usbiCXuYHh05cty6JI1t/6FtAyPJGtEFW99QekM4DwA+K eSJSdgEtcXp3PcXPNLxcx9RP2DdXkKXwhJWWwbOoK+/v2/Zz1hXI7+4zlN3EWq1e6p66 sR2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=h0qKciH1; 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 qb40-20020a1709077ea800b0072eece129b1si7968392ejc.753.2022.08.15.13.25.43; Mon, 15 Aug 2022 13:26:13 -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=h0qKciH1; 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 S1346982AbiHOUQh (ORCPT + 99 others); Mon, 15 Aug 2022 16:16:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346712AbiHOUMC (ORCPT ); Mon, 15 Aug 2022 16:12:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B04E184EFE; Mon, 15 Aug 2022 11:58: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 8F11561267; Mon, 15 Aug 2022 18:58:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 802F7C433C1; Mon, 15 Aug 2022 18:58:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589894; bh=Dc4YOQQ6zjvzDoMoV0wOA2bk8tMQqRdubB3LBNCpDCo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h0qKciH1KGscbrYdNhDnLkQRGAwG1EtyEelZ2x7szrELU9nm4nVXR1lKTOqEJTO7Z ip7w/00mFVtx2yG3NB1aW3Hhdi9ZtseZuFeY4UQpV6No6J5reFB6gZL5cWxNnLBigz lU5OQ83a5BzTAkbRx8M+5XdCHEoUgw8YcgwCD+iQ= 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.18 0082/1095] drm/nouveau/acpi: Dont print error when we get -EINPROGRESS from pm_runtime Date: Mon, 15 Aug 2022 19:51:21 +0200 Message-Id: <20220815180432.911868080@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 @@ -537,7 +537,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