Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4233362ybb; Tue, 7 Apr 2020 03:30:29 -0700 (PDT) X-Google-Smtp-Source: APiQypLjLALjwc/CnfESeHO6JVMagG2Aoe5vdtqUlH+yUhtWEzp9z8D3E36BXENCVXhEw4u9UJuO X-Received: by 2002:a9d:2963:: with SMTP id d90mr900867otb.149.1586255429101; Tue, 07 Apr 2020 03:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586255429; cv=none; d=google.com; s=arc-20160816; b=KuGmrySWqqR/KOOZOt8qa7gNk5I+NCkmkiTgXmzcpX27p0c8yUpf7T/jKvpJQF96mJ PD2vaygKW05+MhU/9nmdaMjdHXy/ooBRRwirvKiuVKhIjtAaCH6qsT/W+GSjaHSK2Jgn Q+6IRTJD1TKGBWnvCPZuSKnPE+qrgnqf5TqdzUh/nO88rOIY3TwKuJy0tSIkCd5vzEF2 bD3zdiRkIkAgTTkf8BG+4q8vTrekM00XT+rHIwZJJViRl+LmygT8Vqb0qHpYWSdF2rcb lsAqg6Me+tz43lRWd2lLqw7pV36LPWJcUnSI01EK3R6Yw/ISOjVAcDgf1uCE8W9aYcKX jZyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Oc6OLQ4jRKqvlB2xSAjADeqPlBe+MtGv2VtrcLB8w8g=; b=Rg2B5Y1LoeIgzJG07PR9JyqjOuNKHXVlz3qFANI8h5CA6PHgK1x3VTJHLV0T8ZSGzd SVOx+a8uAXF6KH4wP8l+XsscAs7tPLCSwBHpnZWpHQ3L24swPAZ1P/UvjR/JB2byp+AU Lpvkd2i2XLNFlp0jmmaE7g0Ibd0dSE9/RCrQnL7CETKU7jjioUv7YLDfLAqq1pMhqU66 DEqoKOKTuK4VZPwDmjcQ2X08xOs3tQ9UrFFeTprUeOq72Z5PJCg0fKuU+0vaTprlK9nD Nad/uVTs87oHYAAgV+kl33zDJUrgbT31xmdCnn91wtsR4e8JmvRvNohzz2cjiBT2BjMW r5mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pnD+vPES; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si1184653otk.246.2020.04.07.03.30.16; Tue, 07 Apr 2020 03:30:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pnD+vPES; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728687AbgDGKYU (ORCPT + 99 others); Tue, 7 Apr 2020 06:24:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:34482 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728074AbgDGKYS (ORCPT ); Tue, 7 Apr 2020 06:24:18 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5EC2C20692; Tue, 7 Apr 2020 10:24:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586255057; bh=Uqu9T6znjX1+39KqQvn1WXb9FvYPbQ02CpAtw+3Q5ik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pnD+vPES3okOvTccv4J3AIbLih27uMbW4rQ9pTF/IHClL3sGkKRFowpkeYUmXeB57 ytSnobo3p1nYQ3EuqGeBcrIkMOSr/rJrKyTj0Ko0UI3Kme8dlEDIUNK98mFvaR2shd dXNafR3rPGNf2JjyuKHwMjqfEnQrExvX8rZIhzYU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, James Zhu , Leo Liu , Alex Deucher , Sasha Levin Subject: [PATCH 5.5 13/46] drm/amdgpu: fix typo for vcn1 idle check Date: Tue, 7 Apr 2020 12:21:44 +0200 Message-Id: <20200407101500.936760620@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200407101459.502593074@linuxfoundation.org> References: <20200407101459.502593074@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: James Zhu [ Upstream commit acfc62dc68770aa665cc606891f6df7d6d1e52c0 ] fix typo for vcn1 idle check Signed-off-by: James Zhu Reviewed-by: Leo Liu Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c index b4f84a820a448..654912402a851 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c @@ -1374,7 +1374,7 @@ static int vcn_v1_0_set_clockgating_state(void *handle, if (enable) { /* wait for STATUS to clear */ - if (vcn_v1_0_is_idle(handle)) + if (!vcn_v1_0_is_idle(handle)) return -EBUSY; vcn_v1_0_enable_clock_gating(adev); } else { -- 2.20.1