Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1859932rwb; Fri, 19 Aug 2022 10:34:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4djbnmACaHjz/69I1gcWV2r36yiyi5CnqqvQpWKVPp8yQtoY6PejjML6phrCijKhkjZi4P X-Received: by 2002:aa7:85da:0:b0:52f:c5bc:cb41 with SMTP id z26-20020aa785da000000b0052fc5bccb41mr8815088pfn.31.1660930480144; Fri, 19 Aug 2022 10:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930480; cv=none; d=google.com; s=arc-20160816; b=hAQBklWsKIqi+F3ukfvyimdEGKovEQiWnXnFQPfTa29k2syLN+YNCoPtfUbCyPIQ30 p/M1t2oT0EnyhwwsvtzqGWk6fl96KAw1lMWidXpwMrvY/Bz6/X4eLxAnwQ+6NHhxqjUA zr6YhUNMMRV3eT9HsJxDseZiIG3RPizs9WmmrSCcgH8rJjH3/ph3dIhs8XHyZIS8z6tM MnOWFqZEaMkcModmX3ZR/vmHnnvaWKC+SFRCAtaps2y8OmVIgFS9veEf3ncfvG0V59rS 1UwpfB91mSGjp3fJdrMNUu7KVvXdFe+5WBm4TXVP+cWEsRLC3pgqXXSTwDAKtl8aBHpa 3cnQ== 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=kAgYmVslzZ3GdVuOtdaswNgtlnZCkj+jk+Xt1ZPM90Y=; b=iv/W/9AlrnsRz2RgmIWr+BX44/JKpOsOnBe5zp+tjVA0gq9PUFroEtLIS4UJkQmZ0/ MknPxQwXM7CSJNKNuii2uZlq5cnuALuZMebaKc4nzQxpr6ZVt1DPV0w2+EmKS4Np2219 GcrTsxCQOIdqonS95rBYJIbascdgtrmlqNiGDPFgz26km0k6vqVDpFAOc0st6z0DOEGn xJ1BRtZ+EwQ3Hzj80B5hRrlkK/tj2cXgzGtmseh/ZfQ8zPEqRrLmkAjot85LR8Kd7Mia c/qd9qLpDx8GjBjnSleJGO+hFokEihsbrvFZSWVB30NYMVxw492m0wcflnbzlNMlvloy NDTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R0lPmnkS; 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 n184-20020a6327c1000000b00415fcde211asi4436600pgn.556.2022.08.19.10.34.29; Fri, 19 Aug 2022 10:34:40 -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=R0lPmnkS; 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 S1350157AbiHSPvO (ORCPT + 99 others); Fri, 19 Aug 2022 11:51:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350234AbiHSPuG (ORCPT ); Fri, 19 Aug 2022 11:50:06 -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 643FF105219; Fri, 19 Aug 2022 08:47:58 -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 8F255616B5; Fri, 19 Aug 2022 15:47:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C06BC433D6; Fri, 19 Aug 2022 15:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660924077; bh=eH8DaH1rOHUDuA9B08awRUYCR1/DUe2jXgaguD0AhxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R0lPmnkSBQPz+kfQ4fbMvsUetRVe38Uqnoz0ChAf17KGOlpS6Qxw0QizA6YbWwvfW IV9LqvFraEQdk0qDAAIwEn3R4hY6Sez3bdVEEwjkmnXAdre0SRnZeuy8TQWemJJyJY 5zte+PoTrGtPvSTPmfORA09VtEOuyHxux4x14LYI= 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.10 046/545] drm/nouveau/acpi: Dont print error when we get -EINPROGRESS from pm_runtime Date: Fri, 19 Aug 2022 17:36:56 +0200 Message-Id: <20220819153831.277673694@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@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 @@ -543,7 +543,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