Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1984649ybi; Thu, 20 Jun 2019 07:16:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/ThHfk4P1WyzMsa0zh9U3+vhP7WrIfHnuyphktseSjFTYdlRzQgze3dbUMa+UWDm6hFqO X-Received: by 2002:a17:902:a5c5:: with SMTP id t5mr127341405plq.288.1561040208728; Thu, 20 Jun 2019 07:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561040208; cv=none; d=google.com; s=arc-20160816; b=fj4sp79inWqCTH6eAtCrK+e1TUvy6p170RGICoSNz44Cvxjp0J94lsJtD9boobetzN I2TbskOaf3FGtJJ7tCV23QqLBeDjU5hqN5Rhgth5ezG/+eYf9srN83QK77xhZAoMmlOY HKsiOUu/Zp2fzxDp1KNwF2DsEr8T8aKZ1SdrbSBC22YdXX+a4ZlR1jo8AkxOLoQP6N7z Y3x0wjPiryJgr0HpSsNA3Z6zVcc+/ZNoZpe8EJtbTkJ2cdqn1i/NsJSbkjxGnXxniARu p0MHX8lEqBZy4jhDN3zKKIrx62L+sw4iB03XjhYnr4hRAFmSqWPHh+bT85spr9iii/dz VsbQ== 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:cc:to:subject:from:date :dkim-signature; bh=61YqVHCdsBReXxm/3QTsbGF8fRfNDuePQ2kaErTMnAs=; b=nncfz81mO/G01cAeIX1Yf/u+BkEuCGX4cfMMgDpwdXt+MRX+JkDAA2Yzq399/7Yk5w DPvOs7PxRR5+qYd1gs/CN/vyyN4KaVC6m4HnxtuNBQwt2YsEe8pRX9hsJ5p/EttHVkPt sP1YQ4vanr5HiQzcZixxQBa+voTsX7XOWYMpt0NxUQ64pf2F67lizxD895g8uB+PQdYe PzgBDqoBSE3irtnj1QsuZ/GhTkmYEgmboF+sFpvJwcYa60M5dh41n7U1AYQa5hew0L5u qxabjMya6OOZ/0ILFE7dLk2PTBkwPdS4S0b2fT5yN02ws8r8iUIMUOUq1ZFCxr99tumY CXRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=fYzlzc0a; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si5999610pgv.225.2019.06.20.07.16.32; Thu, 20 Jun 2019 07:16:48 -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; dkim=fail header.i=@crapouillou.net header.s=mail header.b=fYzlzc0a; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732021AbfFTOQJ (ORCPT + 99 others); Thu, 20 Jun 2019 10:16:09 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:46274 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbfFTOQJ (ORCPT ); Thu, 20 Jun 2019 10:16:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1561040165; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=61YqVHCdsBReXxm/3QTsbGF8fRfNDuePQ2kaErTMnAs=; b=fYzlzc0aSLNqJ4oz7Y5SJxxDVNalZjIKYNa1B6M7JF5mbOthBfCzouM68lL+Ivzzx3sfxk RLKq2Mqf15Xe+loGSqQmQ1aIFirnXaGY2YNuIyIr5T+8ehvWwXRzWh36uARG+zImqflEtw +RnVcMiADHF6PqCywgI6huLIZX+Q270= Date: Thu, 20 Jun 2019 16:15:59 +0200 From: Paul Cercueil Subject: Re: [PATCH v5 2/2] DRM: Add KMS driver for the Ingenic JZ47xx SoCs To: Sam Ravnborg 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 Message-Id: <1561040159.1978.0@crapouillou.net> In-Reply-To: <20190619122622.GB29084@ravnborg.org> References: <20190603152331.23160-1-paul@crapouillou.net> <20190603152331.23160-2-paul@crapouillou.net> <20190619122622.GB29084@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le mer. 19 juin 2019 =E0 14:26, Sam Ravnborg a =E9crit=20 : > Hi Paul. >=20 > 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. >>=20 >> This driver does not make use of the simple pipe helper, for the=20 >> reason >> that it will soon be updated to support more advanced features like >> multiple planes, IPU integration for colorspace conversion and=20 >> up/down >> scaling, support for DSI displays, and TV-out and HDMI outputs. >>=20 >> Signed-off-by: Paul Cercueil >> Tested-by: Artur Rojek >> --- >>=20 >> Notes: >> v2: - Remove custom handling of panel. The panel is now=20 >> discovered using >> the standard API. >> - Lots of small tweaks suggested by upstream >>=20 >> 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 >>=20 >> v4: Remove ingenic,lcd-mode property completely. The various=20 >> modes are now >> deduced from the connector type, the pixel format or the bus=20 >> flags. >>=20 >> v5: - Fix framebuffer size incorrectly calculated for 24bpp=20 >> framebuffers >> - Use 32bpp framebuffer instead of 16bpp, as it'll work with=20 >> both >> 16-bit and 24-bit panel >> - Get rid of drm_format_plane_cpp() which has been dropped=20 >> 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. >=20 > 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. Thanks. > 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. I requested an account here: https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/162 > And you should familiarize yourself with the maintainer-tools: > https://drm.pages.freedesktop.org/maintainer-tools/index.html >=20 > For my use I use "dim update-branches; dim apply; dim push > So only a small subset i needed for simple use. >=20 > Sam =