Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3022977rwb; Mon, 15 Aug 2022 16:20:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR4z9OkbmZhLvkz1+IDaFnPtkiiucGQtjRlpAJ22wvXO1dpU23kIBUktJ+K9sPbOoXU5su/I X-Received: by 2002:a17:907:7f23:b0:731:4dc7:9843 with SMTP id qf35-20020a1709077f2300b007314dc79843mr11707859ejc.152.1660605628897; Mon, 15 Aug 2022 16:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605628; cv=none; d=google.com; s=arc-20160816; b=w2TV/kmH0Jt3mOGWMsqANZSF/JyJGDwUcNb0eCRdiqVUkuZ+hRRAJqKqe8PTnO1pt0 wkymWORO65qY0uYZBxmPODufvTpFbQ6nfCUGUus3JF10iXeXFYCJuM2zkwLoFOaokZaY LN/JIGMf8N7+STGaT0X/hLyMXoLRHD7DF28INRFlH7MMaT6FwIqBiFoeBu9mdmcXfLrx Y3xeeH+2ZwQzPnRnXebQzUcev6VzBNoEC0lkFlCCi6ng3AT49HbqcXB5cnlkg0JjBcYV Ba+j+mN4j58Itrj9RiDeR/Stgm3OAbSJY4ZaLvONa+h1aWxEgm741muWaXPoMS5Oi+/3 DoXg== 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=r4QPAFkRuDhq1NbmgsElI4w+8mFgcn4FYrLkhRGPzS0A9KGts9wxrxMDjKjfHdeO/m h9ZBJ2XuTYSuD2lxnKkEiCGUrG58zx0MjMbuToXdCMKWxpbhCXKKyq3KW5Adrfednlki pFyKbZskLW9wop2b+OlIRntFjyRCA1Zv04QBcGvw3gaPobrYaSX+zWzP+wQ/XDWNv4MK QSg/ITKTzRiCMAKwpKdZtANBDSh9CAtDqT4vzC/WhPez3TuKrm1NMKbzFLvXzJi4RPmC yiUAZ2O5HI57lnMHEv1hV5pxTfuDAQhXyFvl8Da72iWRTYsf/75VPH+LrG2O+wPQ4Xg8 /Mtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kHxIJjuy; 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 ho17-20020a1709070e9100b007310a8a4116si10389981ejc.30.2022.08.15.16.20.03; Mon, 15 Aug 2022 16:20:28 -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=kHxIJjuy; 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 S1347809AbiHOWNl (ORCPT + 99 others); Mon, 15 Aug 2022 18:13:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349475AbiHOWLa (ORCPT ); Mon, 15 Aug 2022 18:11:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 272EA11BB13; Mon, 15 Aug 2022 12:38:48 -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 6FD07611F6; Mon, 15 Aug 2022 19:38:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FBF0C4314A; Mon, 15 Aug 2022 19:38:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592306; bh=Dc4YOQQ6zjvzDoMoV0wOA2bk8tMQqRdubB3LBNCpDCo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kHxIJjuyaVslfGNdJJyj2mmsYnVxg4O9aYiEXHFCpaUAtCKLtnO98hoXuHEhN1Dcp tw23I8ICLN++eW0ii6CSqkmiWN8XTX4qO7/xX3ls24UUtjgXzX0lamcd313hsI/AZ+ /tLuNIirj0emS7nppiEpcoE4mjCtDmV/emIkr1Ng= 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.19 0091/1157] drm/nouveau/acpi: Dont print error when we get -EINPROGRESS from pm_runtime Date: Mon, 15 Aug 2022 19:50:47 +0200 Message-Id: <20220815180443.225904772@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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