Received: by 10.213.65.68 with SMTP id h4csp171878imn; Mon, 12 Mar 2018 10:08:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELsNNA6gNKp0qDdjUo8Og8ZegRrEhmoDoIgfe7LcrS4DkyoyJArCo/zJTTQ/+86EvCsgiNga X-Received: by 10.98.141.205 with SMTP id p74mr8668564pfk.211.1520874521644; Mon, 12 Mar 2018 10:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520874521; cv=none; d=google.com; s=arc-20160816; b=BIBbpSk+G/di7JJ4PMe3EuzDfMGwx1ML8z2+IpBF6bjty/NyFpx9u4WFPG7nSs0TN0 8VODCtJs4u3+oJICLevTCUW6ahcu9aC5HC5DJV7vthyaex8ssi9t7ndrevaidnNTygyi jm1GiXPqeoMU6RysjZJHE2jBOeXK12MEVYO8jE3RiPTt2TM/VKPn3t4bEdFU0/MvPtCP quUAVFg1iSFRDJwEZMEJ3yu9cuNm+IQRF59m/shG/LjqwtM/z/o7LADklXDbOTevz2vx jWxFa+FzEAoIgtRcTenBcaViFx8yAwJuCxsoOliOGOfYJ1XH2XsLJgjIxY5MIcKwC+LY bpcw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=jdGj4Nzn3QwjNAeiOzVqHeQKGEANixp+lMZA+YhK1E4=; b=bmTohrIP1V0sAmy2so7+H8K3Z2uKOmoiE8Q+GVmgcH3DztJvwAK6b7MWClT57BwX8q 1Ye4ITdOvLhcgSGVV0b970P6LXtZanNEideEpKJAnlIh2ujTAHaKzKzZyv6YVCtOCSdk 0OdsthwpdDNp1GqvDvmkvmozc6jNy4TEes3Irgt2QyWu2rFdmHMCvQ6asFQGAmvn+P0U Uilk7WyzbcJSUM9Yk5FBtnqhznnzP3xd7kn5mlI7DKMCrhlkouwN2VpxmaMD7jiFMf80 a2x/s8twly3Sv/TArj0JgTh6sabTLIcTxdR4jtitnQsKektYH4l3Ij6jtX12mT9I37mU CWvQ== ARC-Authentication-Results: i=1; mx.google.com; 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 l7-v6si3228329plk.380.2018.03.12.10.08.23; Mon, 12 Mar 2018 10:08:41 -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; 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 S932634AbeCLRHO convert rfc822-to-8bit (ORCPT + 99 others); Mon, 12 Mar 2018 13:07:14 -0400 Received: from gloria.sntech.de ([95.129.55.99]:39724 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932331AbeCLRHG (ORCPT ); Mon, 12 Mar 2018 13:07:06 -0400 Received: from ip9234afef.dynamic.kabel-deutschland.de ([146.52.175.239] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1evQuW-0000L4-Nq; Mon, 12 Mar 2018 18:06:56 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Enric Balletbo i Serra Cc: architt@codeaurora.org, inki.dae@samsung.com, thierry.reding@gmail.com, hjc@rock-chips.com, seanpaul@chromium.org, airlied@linux.ie, tfiga@chromium.org, dri-devel@lists.freedesktop.org, dianders@chromium.org, a.hajda@samsung.com, ykk@rock-chips.com, kernel@collabora.com, m.szyprowski@samsung.com, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, rydberg@bitmath.org, krzk@kernel.org, linux-rockchip@lists.infradead.org, kgene@kernel.org, linux-input@vger.kernel.org, orjan.eide@arm.com, wxt@rock-chips.com, jeffy.chen@rock-chips.com, linux-arm-kernel@lists.infradead.org, mark.yao@rock-chips.com, wzz@rock-chips.com, hl@rock-chips.com, jingoohan1@gmail.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, kyungmin.park@samsung.com, Laurent.pinchart@ideasonboard.com, kuankuan.y@gmail.com, hshi@chromium.org Subject: Re: [PATCH v5 19/36] drm/rockchip: Restore psr->state when enable/disable psr failed Date: Mon, 12 Mar 2018 18:06:56 +0100 Message-ID: <8139042.U9NTKlgutZ@diego> In-Reply-To: <20180309222327.18689-20-enric.balletbo@collabora.com> References: <20180309222327.18689-1-enric.balletbo@collabora.com> <20180309222327.18689-20-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Freitag, 9. M?rz 2018, 23:23:10 CET schrieb Enric Balletbo i Serra: > From: zain wang > > If we failed disable psr, it would hang the display until next psr > cycle coming. So we should restore psr->state when it failed. > > Cc: Tomasz Figa > Signed-off-by: zain wang > Signed-off-by: Douglas Anderson > Signed-off-by: Sean Paul > Signed-off-by: Thierry Escande > Signed-off-by: Enric Balletbo i Serra > Tested-by: Marek Szyprowski Reviewed-by: Heiko Stuebner