Received: by 10.213.65.68 with SMTP id h4csp896983imn; Wed, 14 Mar 2018 03:35:02 -0700 (PDT) X-Google-Smtp-Source: AG47ELub4uCWxe/IV0/hXmUcqFevJ3M3fbK7ivvg9j0Iwo139m11gno/62ynMisKwLz0XHa4YhWJ X-Received: by 10.101.88.76 with SMTP id s12mr1850870pgr.423.1521023702123; Wed, 14 Mar 2018 03:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521023702; cv=none; d=google.com; s=arc-20160816; b=u4n3sJ54luNIO9azQu42YDPbDBaJC8YDv7tppEV6hH93w8Bj1BpsXAadQF+BNZzNxq rUOnxw9TF6fq3fLqYfFv8DTT3stxL1JpyjHyeKxH+ROjkxGdaIiEc5QCT6z++B41UKZA XB34gEOg2+loi93kkTTJxm9O5MvEws1cNjDFh0GP8pq+ziLPxtyLy8ikJEdBCpd/S39q 8/4zkT1T83OM0W/XKBTMd9AwN66L+c03Q2/vn+ynJBokgriBHTD3KnFSwZs+eJCR1SpU GrVF9lPfPhch0RAD1Y4Zxl7EhxPyCYeq7PzB68uiVlEy8BPZrht1uNSlp5TFRywqpcd2 gSIg== 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=3RelV0RL3n5KpATZwDmkhChPpTnoC4OGjSoFlKBVVjs=; b=J3J1BMSC0/RLRa1GFJU9Iz28ITbO7aUgnPEQG8yFx+8TNQuj9DJygj9RSQqZE/LD5I +dfp6mJfnQ43j6/5zjYgO5xstgGpJKvNASCc5XLjhdNRvJVQK/WSM4IChJDrc2awiTr+ woPPEmxNuawHjrX6WKQ/1f8yqTIKqSp0oJ2NPrJPquF0jlzqUQlMZ0YkzcDmXhEVeMKz 7Q0MSAljhbkSQKrFtVqsiJlaIc5UPwI4AoDRaqeHhdZElpIxi6CNhAnDKNeZi1aYJfOn aRxGmrMkfHHGRWspi7cbGVdwnNsZdKgt743cVqd5LTyH00tTzCbTIauq1vYBvZaV6a4o eSug== 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 a11-v6si1761891plp.363.2018.03.14.03.34.47; Wed, 14 Mar 2018 03:35:02 -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 S1751980AbeCNKdW convert rfc822-to-8bit (ORCPT + 99 others); Wed, 14 Mar 2018 06:33:22 -0400 Received: from gloria.sntech.de ([95.129.55.99]:44304 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbeCNKdU (ORCPT ); Wed, 14 Mar 2018 06:33:20 -0400 Received: from ip9234b5ec.dynamic.kabel-deutschland.de ([146.52.181.236] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ew3iZ-0003zx-7r; Wed, 14 Mar 2018 11:33:11 +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: Wed, 14 Mar 2018 11:33:10 +0100 Message-ID: <108650566.lvmJh4lmP0@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 applied to drm-misc-next Thanks Heiko