Received: by 10.213.65.68 with SMTP id h4csp151856imn; Mon, 12 Mar 2018 09:31:15 -0700 (PDT) X-Google-Smtp-Source: AG47ELvQy/QiNqNrSo3JxHtupNh0+TTNLFwuxMBONhyBWPNn4PLxCewwGKshU4lLDBKUWTUTZFpY X-Received: by 10.98.61.73 with SMTP id k70mr8588985pfa.10.1520872275528; Mon, 12 Mar 2018 09:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520872275; cv=none; d=google.com; s=arc-20160816; b=dgexHaJQPOI4B6RssER/MgLjI/WV822YqzFuNWLrVpYJlGtbu8BQmhByj/TAo/Sb6X ZOccoimTmsyLpN36Mk7+HFce2+fS7IFsai2BdPcnoDlFN7sO/MEDGuQ7r6AfWOnH3UQ0 qGNAAcyxXSL0A90BoQ550mIobSRX0eYPWji9fxtnV4CyLw3uwk/aJ07LAuWxXDreXBnR mWk0of9u25xQghQTiN7I8oy/Us6XHFTQvaxQdICbiFmyWBgw1xvC9oPQ/JLkqyYlIsiu skI85zIMS6wWcaXguKFrOxaqJctN6fWAmSVD9NG7A8jr0BnBo6gK70P4lVdp7edM6Ibr u+5Q== 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=H8cXnzBNuUupchm71rB2zhWuJT6WOsJvd2M7kFLMvYE=; b=E5nxocB3bq9qdKXy/hFYrCfx7pZdadihD8ztdUa/VkcsYd+IsyXXbusGCYOzXcN8iY Ip7rNxJhLcvU55M2okIdXx+MkvQsLaCUs6BmxiMRU4DDQRrLONtv5hJB8w1IXr2dwUv3 o266cg8Wcl8izGPLjmqhTZCumC8jp8eDiOVyLHgqNyBREBDyu8z3YxlaMoaDCUnpMOvO 856q7wgDmp1YyakPUGFkVUx6UYGoBdFL7NTWu+bS6eC+8YjZkAgb7nYg33I2/VicAJnx VqKhuqngiCBvTrprBpmzEOUXEJfjbKCe/DTJcHo6UgQbNRAePZxLKvJzu2XEYEs2edCw Decw== 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 u25si5174175pgv.221.2018.03.12.09.30.59; Mon, 12 Mar 2018 09:31:15 -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 S932568AbeCLQ3f convert rfc822-to-8bit (ORCPT + 99 others); Mon, 12 Mar 2018 12:29:35 -0400 Received: from gloria.sntech.de ([95.129.55.99]:39140 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932494AbeCLQ3d (ORCPT ); Mon, 12 Mar 2018 12:29:33 -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 1evQK8-00006G-Vf; Mon, 12 Mar 2018 17:29:21 +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 04/36] drm/rockchip: add mutex vop lock Date: Mon, 12 Mar 2018 17:29:20 +0100 Message-ID: <3618546.KCVSigYX7Y@diego> In-Reply-To: <20180309222327.18689-5-enric.balletbo@collabora.com> References: <20180309222327.18689-1-enric.balletbo@collabora.com> <20180309222327.18689-5-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:22:55 CET schrieb Enric Balletbo i Serra: > From: zain wang > > Add a lock to vop to avoid disabling the crtc while waiting for a line > flag while enabling psr. If we disable in the middle of waiting for the > line flag, we'll end up timing out or worse. > > Signed-off-by: zain wang > 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