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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,UNPARSEABLE_RELAY 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 B6A5BC10F13 for ; Tue, 16 Apr 2019 14:02:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 921DC223D3 for ; Tue, 16 Apr 2019 14:02:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729071AbfDPOCr (ORCPT ); Tue, 16 Apr 2019 10:02:47 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:50572 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbfDPOCr (ORCPT ); Tue, 16 Apr 2019 10:02:47 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id D2873281F9F Message-ID: <16b99f4040a1837bcdbf860d0e9517eb53002aed.camel@collabora.com> Subject: Re: [5.2][PATCH 0/3] Ingenic JZ47xx KMS driver From: Ezequiel Garcia To: Paul Cercueil Cc: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Maarten Lankhorst , Maxime Ripard , Sean Paul , devicetree@vger.kernel.org, linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Date: Tue, 16 Apr 2019 11:02:35 -0300 In-Reply-To: <1552304705.1929.0@crapouillou.net> References: <20190228220756.20262-1-paul@crapouillou.net> <1552304705.1929.0@crapouillou.net> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Mon, 2019-03-11 at 12:45 +0100, Paul Cercueil wrote: > Hi Ezequiel, > > On Mon, Mar 11, 2019 at 1:02 AM, Ezequiel Garcia > wrote: > > On Thu, 2019-02-28 at 19:07 -0300, Paul Cercueil wrote: > > > Hi, > > > > > > This is a first attempt at a KMS driver for the JZ47xx MIPS SoCs by > > > Ingenic. It is aimed to replace the aging jz4740-fb driver. > > > > > > The driver will later be updated with new features (overlays, TV-out > > > etc.), that's why I didn't go with the simple/tiny DRM driver. > > > > > > The driver has been tested on the Ben Nanonote (JZ4740) and the > > > RetroMini RS-90 (JZ4725B) handheld gaming console. > > > > > > > Does this support JZ4780? Or otherwise, > > is there any similarity with JZ4780 display controller? > > > > Thanks, > > Eze > > The JZ4780 LCD controller would in theory work with this driver, but > to test on the CI20 you'd need to add support for HDMI first. > After reviewing a bit this driver and the JZ480 one on the CI20 repo, there seems to be some differences. To begin with, the JZ480 apparently has a new 8-word descriptor. The HDMI looks pretty much a Synopsys DW HDMI, mostly compatible with the dw-hdmi encoder. I'll try to put together some patches to enable JZ4780 support. Won't happen anytime soon, so if anyone wants to give it a shot, be my guest :-) Regards, Eze