Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp634734ybi; Wed, 19 Jun 2019 05:27:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwT1EJ02eiDdBIdM50kngheVQLzn5nQAd39FoyP6hXL0eYe+1A2Zsl2hW3t0MAw+QERBWfS X-Received: by 2002:a17:902:7297:: with SMTP id d23mr105999701pll.254.1560947234331; Wed, 19 Jun 2019 05:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560947234; cv=none; d=google.com; s=arc-20160816; b=A9J3PaafAfCBjkIUk5rjb2X7IQNkShJ+ZV+9O3cEjrvvp2ZCNzWLLWQzygIJjrKGYe KqpYo69gz4rLEWig6wp4/+gX+fjEu5X0adAKlptr+t661Y2g+9GTvCKWB+y01zIq5Z3g 1zaPh+qsr7ZML1AJUv9rv3g97X/SC+ugPs6JniJCQnxRqcp/AgsXL4h6LLz7IKjKQpPu V9deMUwF+CTtJhu+yKPXDWpWeA/zzE/kakEVABuytdUd1FV/bTS2FBTsC0fuafJpFikD +ccS07eLt9TdKm1J/Hlt+R+MdnR8MoURBUw7pG5QUyEU/XRCwmCSIVYaM+N2+59Dg+Gc j84Q== 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=7BN4By4wsrMPDp8+WsG0UV8SPbqi3j3A/WZ37fDLcA4=; b=vY/8exgBZRKROH6K//n6WLTixDHuh5PYwCSkhi18J7YaKpup2Fhx6nK8wZyPq6KD2J WpNq1EUmHuo/iAPR8VB4dBZbStfSJvFaa5F50pwtYyfwyq6/vqGCDImPLw5wQLsHouEz NWZlwDany5l9o1XBe5qpcRonCPTKq8RK/Q+a0BBi+WFqMZvurl+/jaPnxofkz4HBxzSi yXZ/o6VLHv36oulmnTh3UKa7/G+nYrgfpC958itpEU01Uj9oRfX+nJ252b7LRz9raH4b hp4oX2UFPB7xL/fT/FxJWL/bQEo665q5OjhcOKd0vySxBfTffy1OJJCmkW/bYJYsv6li G/bA== 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 y21si151909plr.105.2019.06.19.05.26.58; Wed, 19 Jun 2019 05:27:14 -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 S1731708AbfFSM01 (ORCPT + 99 others); Wed, 19 Jun 2019 08:26:27 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:57532 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726246AbfFSM01 (ORCPT ); Wed, 19 Jun 2019 08:26:27 -0400 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 6507420025; Wed, 19 Jun 2019 14:26:23 +0200 (CEST) Date: Wed, 19 Jun 2019 14:26:22 +0200 From: Sam Ravnborg To: Paul Cercueil Cc: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Maarten Lankhorst , Maxime Ripard , Sean Paul , od@zcrc.me, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Artur Rojek Subject: Re: [PATCH v5 2/2] DRM: Add KMS driver for the Ingenic JZ47xx SoCs Message-ID: <20190619122622.GB29084@ravnborg.org> References: <20190603152331.23160-1-paul@crapouillou.net> <20190603152331.23160-2-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190603152331.23160-2-paul@crapouillou.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=dqr19Wo4 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=ER_8r6IbAAAA:8 a=p6pI0oa4AAAA:8 a=e5mUnYsNAAAA:8 a=H0UmMNABUbsaJNjzNOkA:9 a=CjuIK1q_8ugA:10 a=9LHmKk7ezEChjTCyhBa9:22 a=9cw2y2bKwytFd151gpuR:22 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul. On Mon, Jun 03, 2019 at 05:23:31PM +0200, Paul Cercueil wrote: > Add a KMS driver for the Ingenic JZ47xx family of SoCs. > This driver is meant to replace the aging jz4740-fb driver. > > This driver does not make use of the simple pipe helper, for the reason > that it will soon be updated to support more advanced features like > multiple planes, IPU integration for colorspace conversion and up/down > scaling, support for DSI displays, and TV-out and HDMI outputs. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > --- > > Notes: > v2: - Remove custom handling of panel. The panel is now discovered using > the standard API. > - Lots of small tweaks suggested by upstream > > v3: - Use devm_drm_dev_init() > - Update compatible strings to -lcd instead of -drm > - Add destroy() callbacks to plane and crtc > - The ingenic,lcd-mode is now read from the bridge's DT node > > v4: Remove ingenic,lcd-mode property completely. The various modes are now > deduced from the connector type, the pixel format or the bus flags. > > v5: - Fix framebuffer size incorrectly calculated for 24bpp framebuffers > - Use 32bpp framebuffer instead of 16bpp, as it'll work with both > 16-bit and 24-bit panel > - Get rid of drm_format_plane_cpp() which has been dropped upstream > - Avoid using drm_format_info->depth, which is deprecated. In the drm world we include the revision notes in the changelog. So I did this when I applied it to drm-misc-next. Fixed a few trivial checkpatch warnings about indent too. There was a few too-long-lines warnings that I ignored. Fixing them would have hurt readability. I assume you will maintain this driver onwards from now. Please request drm-misc commit rights (see https://www.freedesktop.org/wiki/AccountRequests/) You will need a legacy SSH account. And you should familiarize yourself with the maintainer-tools: https://drm.pages.freedesktop.org/maintainer-tools/index.html For my use I use "dim update-branches; dim apply; dim push So only a small subset i needed for simple use. Sam