From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 176F7C43387 for ; Wed, 16 Jan 2019 14:46:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D12F020657 for ; Wed, 16 Jan 2019 14:46:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="R8dIlhzG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="cR/DhM8f" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D12F020657 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pkqmjn2PoIR9hBofz3wgYTuQLJ6RHSWDBIpbFc7bVZg=; b=R8dIlhzGJygYUK WQlmcJBaHdR1WomkoIsh83eaLmmMgtKBPm00VG30pvQNZUjnkTIYvEg/QMqrruiSC3VtYU5PDQU2D Ne46434pYKeXwUIL+iz8I49X0J1hJkK8NoYGVw+DbTuNc7pMdkA3N+rorfgNxf5BathE40VaGtokA iZg+NCdkSISxqIN+QDDZwgyV/yUyIePz5adJ79Oxyq9uUV0JIwTt6Nje3pP5O1Lu82/hFurGFsV2w s5pPFEi2l0uSefbZf7JpvsLP4VeLGYhLSImSXsK9EGQ5swMfQEovbqq+/Rj8QrC+EVJ0r+bdjn0is ZOULKiNYRbeOGzyb4P/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjmS9-0000Mp-FN; Wed, 16 Jan 2019 14:46:01 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjmS6-0000Gw-OR for linux-arm-kernel@lists.infradead.org; Wed, 16 Jan 2019 14:46:00 +0000 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) (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 8F72520657; Wed, 16 Jan 2019 14:45:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547649958; bh=RpxCb7uIWRRnSDY18jtHaRcDC4JxCs48Xtr9FHci1pA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cR/DhM8fX69O18yQo6C4R4q1WzitweTNFkCofTQiA4aGLy0Gh18x97b+adlHkewQc 3/WLhtWa1yHvP9aYeMhMrcitAgof465jSeVxkHx+Ttnq/1Uh0imMB1TUPA9WOzKdD7 9Bh3ON1HQnPneSShoSJvkq5VvDEPvqlID4TKgMiY= Date: Wed, 16 Jan 2019 15:45:47 +0100 From: Boris Brezillon To: Peter Rosin Subject: Re: [PATCH 4/4] drm/atmel-hlcdc: do not immediately disable planes, wait for next frame Message-ID: <20190116154547.711d7087@bbrezillon> In-Reply-To: References: <20190110151020.30468-1-peda@axentia.se> <20190110151020.30468-5-peda@axentia.se> <20190110182904.5efd08f2@bbrezillon> <20190110202522.10206f2d@bbrezillon> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190116_064558_846319_44AE5F24 X-CRM114-Status: GOOD ( 24.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , David Airlie , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Boris Brezillon , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 11 Jan 2019 14:29:28 +0000 Peter Rosin wrote: > On 2019-01-10 20:25, Boris Brezillon wrote: > > On Thu, 10 Jan 2019 18:51:21 +0000 > > Peter Rosin wrote: > > > >> On 2019-01-10 18:29, Boris Brezillon wrote: > >>> On Thu, 10 Jan 2019 15:10:48 +0000 > >>> Peter Rosin wrote: > >>> > >>>> The A2Q and UPDATE bits have no effect in the channel disable registers. > >>>> However, since they are present, assume that the intention is to disable > >>>> planes, not immediately as indicated by the RST bit, but on the next > >>>> frame shift since that is what A2Q and UPDATE means in the channel enable > >>>> registers. > >>>> > >>>> Disabling the plane on the next frame shift is done with the EN bit, > >>>> so use that. > >>> > >>> It's been a long time, but I think I had a good reason for forcing a > >>> reset. IIRC, when you don't do that and the CRTC is disabled before the > >>> plane, the EN bit stays around, and next time you queue a plane update, > >>> you'll start with an invalid buf pointer. > >> > >> It might be possible to clear the EN bit in ...CHDR before enabling the > >> plane in ...CHER. Or is that too late? > > > > I think I tried that, but I'm not sure (BTW, this change was done in > > bd4248bb5e8b ("drm: atmel-hlcdc: reset layer A2Q and UPDATE bits when > > That patch is a big fat NOP if you read the documentation. Those bits > are marked with a '-' for all LCDC channel disable registers, for all > supported chips IIUC. Are the effects of those bits mentioned in any > errata? IIRC, it was not documented in the datasheet, but this came out during a discussion with the IP designer. > > It would be good with a comment that the present undocumented disable > method is intentional. Yes, I should have added a comment about that, my bad. > That would have kept me from assuming the whole > thing was just copy-paste junk from ..._enable that happened to work. > > >> disabling it")). Anyway, I'm not even sure this is still needed now > >> that atomic updates have a wait_for_flip_done/vblank() in the commit > >> path. > > The documentation for the RST bit states "Resets the layer immediately. > The frame is aborted." which sounds a bit scary and heavy-handed. But > again, I don't know what that actually means and what the effects are > but that was the reason for me wanting to avoid the RST bit. As I said, I'm not even sure the problem I was trying to fix still exists. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [PATCH 4/4] drm/atmel-hlcdc: do not immediately disable planes, wait for next frame Date: Wed, 16 Jan 2019 15:45:47 +0100 Message-ID: <20190116154547.711d7087@bbrezillon> References: <20190110151020.30468-1-peda@axentia.se> <20190110151020.30468-5-peda@axentia.se> <20190110182904.5efd08f2@bbrezillon> <20190110202522.10206f2d@bbrezillon> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 524F26F0D6 for ; Wed, 16 Jan 2019 14:45:58 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Peter Rosin Cc: Alexandre Belloni , David Airlie , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Nicolas Ferre , Boris Brezillon , "linux-arm-kernel@lists.infradead.org" List-Id: dri-devel@lists.freedesktop.org T24gRnJpLCAxMSBKYW4gMjAxOSAxNDoyOToyOCArMDAwMApQZXRlciBSb3NpbiA8cGVkYUBheGVu dGlhLnNlPiB3cm90ZToKCj4gT24gMjAxOS0wMS0xMCAyMDoyNSwgQm9yaXMgQnJlemlsbG9uIHdy b3RlOgo+ID4gT24gVGh1LCAxMCBKYW4gMjAxOSAxODo1MToyMSArMDAwMAo+ID4gUGV0ZXIgUm9z aW4gPHBlZGFAYXhlbnRpYS5zZT4gd3JvdGU6Cj4gPiAgIAo+ID4+IE9uIDIwMTktMDEtMTAgMTg6 MjksIEJvcmlzIEJyZXppbGxvbiB3cm90ZTogIAo+ID4+PiBPbiBUaHUsIDEwIEphbiAyMDE5IDE1 OjEwOjQ4ICswMDAwCj4gPj4+IFBldGVyIFJvc2luIDxwZWRhQGF4ZW50aWEuc2U+IHdyb3RlOgo+ ID4+PiAgICAgCj4gPj4+PiBUaGUgQTJRIGFuZCBVUERBVEUgYml0cyBoYXZlIG5vIGVmZmVjdCBp biB0aGUgY2hhbm5lbCBkaXNhYmxlIHJlZ2lzdGVycy4KPiA+Pj4+IEhvd2V2ZXIsIHNpbmNlIHRo ZXkgYXJlIHByZXNlbnQsIGFzc3VtZSB0aGF0IHRoZSBpbnRlbnRpb24gaXMgdG8gZGlzYWJsZQo+ ID4+Pj4gcGxhbmVzLCBub3QgaW1tZWRpYXRlbHkgYXMgaW5kaWNhdGVkIGJ5IHRoZSBSU1QgYml0 LCBidXQgb24gdGhlIG5leHQKPiA+Pj4+IGZyYW1lIHNoaWZ0IHNpbmNlIHRoYXQgaXMgd2hhdCBB MlEgYW5kIFVQREF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W1lZGlhdGVseS4KPiBU aGUgZnJhbWUgaXMgYWJvcnRlZC4iIHdoaWNoIHNvdW5kcyBhIGJpdCBzY2FyeSBhbmQgaGVhdnkt aGFuZGVkLiBCdXQKPiBhZ2FpbiwgSSBkb24ndCBrbm93IHdoYXQgdGhhdCBhY3R1YWxseSBtZWFu cyBhbmQgd2hhdCB0aGUgZWZmZWN0cyBhcmUKPiBidXQgdGhhdCB3YXMgdGhlIHJlYXNvbiBmb3Ig bWUgd2FudGluZyB0byBhdm9pZCB0aGUgUlNUIGJpdC4KCkFzIEkgc2FpZCwgSSdtIG5vdCBldmVu IHN1cmUgdGhlIHByb2JsZW0gSSB3YXMgdHJ5aW5nIHRvIGZpeCBzdGlsbApleGlzdHMuCl9fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmRyaS1kZXZlbCBtYWls aW5nIGxpc3QKZHJpLWRldmVsQGxpc3RzLmZyZWVkZXNrdG9wLm9yZwpodHRwczovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2RyaS1kZXZlbAo= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 126A8C43387 for ; Wed, 16 Jan 2019 14:46:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D4BBC2082F for ; Wed, 16 Jan 2019 14:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547649960; bh=RpxCb7uIWRRnSDY18jtHaRcDC4JxCs48Xtr9FHci1pA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=MwEdzM8wKC+lLPJBHGPAkZb4rwPzkFrvtWw7joIRVvp4utv9PcOD6PkyeTCQ2DGR1 lSr98acVqj9stFg0w2rDfT2C5H3NortbYJ3osNX0RgfFvQ5S9EEUBhhhdy2pGgX61E khheecQpHnquKhzmkGbdYn4HUpLM2c36w8D/DES4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390998AbfAPOp7 (ORCPT ); Wed, 16 Jan 2019 09:45:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:47892 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730894AbfAPOp6 (ORCPT ); Wed, 16 Jan 2019 09:45:58 -0500 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) (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 8F72520657; Wed, 16 Jan 2019 14:45:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547649958; bh=RpxCb7uIWRRnSDY18jtHaRcDC4JxCs48Xtr9FHci1pA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cR/DhM8fX69O18yQo6C4R4q1WzitweTNFkCofTQiA4aGLy0Gh18x97b+adlHkewQc 3/WLhtWa1yHvP9aYeMhMrcitAgof465jSeVxkHx+Ttnq/1Uh0imMB1TUPA9WOzKdD7 9Bh3ON1HQnPneSShoSJvkq5VvDEPvqlID4TKgMiY= Date: Wed, 16 Jan 2019 15:45:47 +0100 From: Boris Brezillon To: Peter Rosin Cc: Alexandre Belloni , David Airlie , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Boris Brezillon , "linux-arm-kernel@lists.infradead.org" , Nicolas Ferre Subject: Re: [PATCH 4/4] drm/atmel-hlcdc: do not immediately disable planes, wait for next frame Message-ID: <20190116154547.711d7087@bbrezillon> In-Reply-To: References: <20190110151020.30468-1-peda@axentia.se> <20190110151020.30468-5-peda@axentia.se> <20190110182904.5efd08f2@bbrezillon> <20190110202522.10206f2d@bbrezillon> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Jan 2019 14:29:28 +0000 Peter Rosin wrote: > On 2019-01-10 20:25, Boris Brezillon wrote: > > On Thu, 10 Jan 2019 18:51:21 +0000 > > Peter Rosin wrote: > > > >> On 2019-01-10 18:29, Boris Brezillon wrote: > >>> On Thu, 10 Jan 2019 15:10:48 +0000 > >>> Peter Rosin wrote: > >>> > >>>> The A2Q and UPDATE bits have no effect in the channel disable registers. > >>>> However, since they are present, assume that the intention is to disable > >>>> planes, not immediately as indicated by the RST bit, but on the next > >>>> frame shift since that is what A2Q and UPDATE means in the channel enable > >>>> registers. > >>>> > >>>> Disabling the plane on the next frame shift is done with the EN bit, > >>>> so use that. > >>> > >>> It's been a long time, but I think I had a good reason for forcing a > >>> reset. IIRC, when you don't do that and the CRTC is disabled before the > >>> plane, the EN bit stays around, and next time you queue a plane update, > >>> you'll start with an invalid buf pointer. > >> > >> It might be possible to clear the EN bit in ...CHDR before enabling the > >> plane in ...CHER. Or is that too late? > > > > I think I tried that, but I'm not sure (BTW, this change was done in > > bd4248bb5e8b ("drm: atmel-hlcdc: reset layer A2Q and UPDATE bits when > > That patch is a big fat NOP if you read the documentation. Those bits > are marked with a '-' for all LCDC channel disable registers, for all > supported chips IIUC. Are the effects of those bits mentioned in any > errata? IIRC, it was not documented in the datasheet, but this came out during a discussion with the IP designer. > > It would be good with a comment that the present undocumented disable > method is intentional. Yes, I should have added a comment about that, my bad. > That would have kept me from assuming the whole > thing was just copy-paste junk from ..._enable that happened to work. > > >> disabling it")). Anyway, I'm not even sure this is still needed now > >> that atomic updates have a wait_for_flip_done/vblank() in the commit > >> path. > > The documentation for the RST bit states "Resets the layer immediately. > The frame is aborted." which sounds a bit scary and heavy-handed. But > again, I don't know what that actually means and what the effects are > but that was the reason for me wanting to avoid the RST bit. As I said, I'm not even sure the problem I was trying to fix still exists.