Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp669204yba; Wed, 3 Apr 2019 17:12:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrrhQIy0A0HObN/jQXXjgz6ux1FRvZMWN0jem84rjQJkgcoILh5TZZPCO/EkOCIsLz5qzs X-Received: by 2002:a62:4d43:: with SMTP id a64mr2484730pfb.157.1554336742826; Wed, 03 Apr 2019 17:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554336742; cv=none; d=google.com; s=arc-20160816; b=KAqz+ArRRO09daAMAdwEpKWIcN+Qin7gy42QjcjHTSyp4HLKTANgI+NYsGyJmOcEAo fzB81MeL4kcRftWtxdfpyTMcwSPhpRldS1u6dUKx67ZkLlKKwqaxyGsjBYrkjTRCzRHr IRALWA5IY5+0KXA0etTkIuzMD2xGiY9p92T3tZvRiflTwS1EaqC+LiLzT2iqciGrp7/T bcEq2dOr2uPc/pNltWrPfTS5hM7wj1YhdZOyYdSKOD8AGbW0OkoiX+lECnfMbBjxCU8Q YzAKJH+NkKDpk9nmfWUACz5p5Tob3u7coPsD9e/8Pu6EP0DexgcUX67uxAw5FjlKxf8X tzJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=v/dtLxfe3ql8EemHym9r1CZKsk4VCnfJ4DLzfoOi+b4=; b=vGgAB3oE/8S5IWg4ZAAVaJWRAGQD9YujayhzPz29JOOsfbbPixSxplluCpjyHZzRvX jmMhJxvRg1xF/lDHSaTbrTK18heCl6eBX8Uwqmj4odrANSgDhri3kDIM62Jv9chOPS+E 24FzqKtOl3Ca77uz3JUusZdQknHzJcvtbTNDBPB62lhmq5UnFC6uvZ8+0yLREFUmyOQE +gxGJObmiwS7DEk/c+Q8N8G+9UO40jCS1zSN0X8DuP+n0NycyWL+xmBnYOLTO0s6C8M8 z2lU3eo0/OW3Z1Z0HYIIIKr04Movy4p5YfTz577llWiy50TxbKFLtF1irAoQY25jELzT QMjw== 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 b74si14836575pfj.121.2019.04.03.17.12.06; Wed, 03 Apr 2019 17:12:22 -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 S1726384AbfDDALN (ORCPT + 99 others); Wed, 3 Apr 2019 20:11:13 -0400 Received: from muru.com ([72.249.23.125]:44282 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726099AbfDDALN (ORCPT ); Wed, 3 Apr 2019 20:11:13 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 55FFA803A; Thu, 4 Apr 2019 00:11:27 +0000 (UTC) Date: Wed, 3 Apr 2019 17:11:09 -0700 From: Tony Lindgren To: Sebastian Reichel Cc: Sebastian Reichel , Tomi Valkeinen , Pavel Machek , Laurent Pinchart , "H. Nikolaus Schaller" , dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCHv6 4/4] drm/omap: add support for manually updated displays Message-ID: <20190404001109.GZ49658@atomide.com> References: <20190403195413.djfrgzuj7povdksi@earth.universe> <20190403201326.3127-1-sebastian.reichel@collabora.com> <20190403201326.3127-5-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190403201326.3127-5-sebastian.reichel@collabora.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Sebastian Reichel [190403 20:14]: > This adds the required infrastructure for manually updated displays, > such as DSI command mode panels. While those panels often support > partial updates we currently always do a full refresh. > > The display will be refreshed when something calls the dirty callback, > such as libdrm's drmModeDirtyFB(). This is currently being done at least > by the kernel console and Xorg (with modesetting driver) in their > default configuration. Weston does not implement this and the fbdev > backend does not work (display will not update). Weston's DRM backend > uses double buffering and the page flip will also trigger a display > refresh. I've tested this with Linux next and the latest lm3532 patches and it works fine as long as we leave out the backlight = <&lcd_backlight> entry from dts like I replied in the lm3532 tread. So as far as I'm concerned, we're good to go: Tested-by: Tony Lindgren