Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp962001ybm; Wed, 27 May 2020 12:16:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHyGgkN50FZpB8ndIkfaJ3KvJ4dMLdV7xAD7TsNzB86N1uLT3dGTK6y1pvmHNFhHjV+wPJ X-Received: by 2002:a50:e84b:: with SMTP id k11mr26026436edn.204.1590606998187; Wed, 27 May 2020 12:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590606998; cv=none; d=google.com; s=arc-20160816; b=zl/Kn5Ay6NJ2x0BOcYeor2GzP+j6bOIrIGt7sUfw4jeTakSdo6rUFTSy27EUDOGK33 KBtYz/Ea5YXxXPv3JqsIvkWBu4mSwCzHm/86T2rfQvjvUCK0pBUb7hME9PzsstdkTxOv Gzz3FdAKquN/C9EOTgjIOEBlpX0LJ9XopPwPBpsqmmPQ+JtWXoxoKg0Tz0TsuhdSH2Ic P3XF5WaG8toJc7gWpnmsx8dAE73h3MrA30j4ef3ha1tM069gGyLspXG24Q/+MpAVdmMs UFBcq5B6u8IS0yqrmf220vxx7r8zYzr2ZTdMNbO6qIAKyFqfdwx7tMW0uRZH7tf8zOxh fgLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LHmWtQ2TkLP6OGqb3OSxb7myh0DpkLphjU9/234BIPw=; b=p9obHrTwJeeqS4Cl5NBOxcSZEPYo8iLwrW6ziWUpNj4iTLnBgd/KzvAqkxjnmvNsuI N5fiAHOW/5TSvzLQVeKGoSVWjQ8cwhpmpEw1G2IWpqYP8MsZ1/u2rGHT0uC0j0DQxKIL dTA/jUY6yzG26Pcb4gqhe7ZTcDJ0u/A93YjNj7qjDW7LdJK4Tti5pPBYt3jM8OuprAFP CeHn0J8FsxubKxqc/mEIdkIgZ+hNu72u3D7PlcJ2R13FCXCsPLw4x4NOSKm2o9AxGTo6 xtCI8lBj/jpGG8LE0CkKFRgP1ZdD1uxRlA4Tpq192tlWj7e9ybetYpr0ogjKgln4ArG3 Kjrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anholt-net.20150623.gappssmtp.com header.s=20150623 header.b="QS/DeL/4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gj16si2337727ejb.373.2020.05.27.12.16.15; Wed, 27 May 2020 12:16:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@anholt-net.20150623.gappssmtp.com header.s=20150623 header.b="QS/DeL/4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731048AbgE0Qy6 (ORCPT + 98 others); Wed, 27 May 2020 12:54:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbgE0Qy5 (ORCPT ); Wed, 27 May 2020 12:54:57 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EADFC05BD1E for ; Wed, 27 May 2020 09:54:57 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id z6so29758246ljm.13 for ; Wed, 27 May 2020 09:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anholt-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LHmWtQ2TkLP6OGqb3OSxb7myh0DpkLphjU9/234BIPw=; b=QS/DeL/4agLgqn43tz2d+1Pv+Wcw+zCxwuarjwcFOqdidEhljsODcljY+PQD4MZcez 6mcT5xo+Glj6Ozfyadq8H8umAzoBhXKuPdW8HcoZ043jES7AoSHHYu2QJvNfDbke8WKE Sd1361f4h8VU3lrRB8HNQrWQJqedcEnX0V0GYfKC+d5yU8R52r3f8aEWrcwoJJo1Lrm1 rrlOSWgksgreXzlsXtCWma7ALPvRuCLrWDRnRqvsvYq0cqxGjb/3xHPbS33yS/6CjUiS 7Vbd2apZUjCw2NVUJTdQpNzUFRkW7nKRLrAvi1n05Ykl31i8DWeWBLHOOz7xf4ILLl7/ 7SxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LHmWtQ2TkLP6OGqb3OSxb7myh0DpkLphjU9/234BIPw=; b=h8QCnEPnhfEVhFxFbE+1kKqHdPIum/l/k4Qtcl/ou7iSq+kTzrQ9O7hoNskokNluNw 6IwanixO0rzLCX1d6Sb1vYj8uPzN0qFgexFyPurbO7Wvmzb4dq63x2YNQGszzGGSLMnD +bOlwMsfAqFvavWYsxeQvxRz9HdQYoElF+DvTPC6prV5xdkpzv5326B2aOG2hDpn+71f NFwObQch6/1Wv/RJ5rg6jq7fUVWNDri7hYqjouIC01RW+1NZi5e6P4V18C4qfhU1qgmR Q1ZLqaKYiedJo8JURF9kMWYCA2scyhMHj0pwEjTZLfe1rsHz1OpdkU9vnvIMoTd+RjQ5 9coA== X-Gm-Message-State: AOAM531sX9CTagoq7feMGlBx8fuZ+oMRPcCFqaW8T+lIJIIjdSQdmrK1 G/lPhgBh4oB8fMZ+jzQC/QSzwY4xL0u1jmP5G174JQ== X-Received: by 2002:a2e:8186:: with SMTP id e6mr3672178ljg.252.1590598495776; Wed, 27 May 2020 09:54:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Eric Anholt Date: Wed, 27 May 2020 09:54:44 -0700 Message-ID: Subject: Re: [PATCH v3 032/105] drm/vc4: crtc: Enable and disable the PV in atomic_enable / disable To: Maxime Ripard Cc: Nicolas Saenz Julienne , DRI Development , linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Stevenson , Tim Gover , Phil Elwell Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2020 at 8:50 AM Maxime Ripard wrote: > > The VIDEN bit in the pixelvalve currently being used to enable or disable > the pixelvalve seems to not be enough in some situations, which whill end > up with the pixelvalve stalling. > > In such a case, even re-enabling VIDEN doesn't bring it back and we need to > clear the FIFO. This can only be done if the pixelvalve is disabled though. > > In order to overcome this, we can configure the pixelvalve during > mode_set_no_fb, but only enable it in atomic_enable and flush the FIFO > there, and in atomic_disable disable the pixelvalve again. What displays has this been tested with? Getting this sequencing right is so painful, and things like DSI are tricky to get to light up.