Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3215857yba; Tue, 16 Apr 2019 07:04:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhwgnwmUTCFRy2Wb/tybMSPDT8x+ASPjno8oI3evqgpwkBwSHS43C7kbkqfdGUgdc13ARZ X-Received: by 2002:a17:902:9043:: with SMTP id w3mr82887371plz.101.1555423460999; Tue, 16 Apr 2019 07:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555423460; cv=none; d=google.com; s=arc-20160816; b=cQHyYCbegQEO9ffwPLp1lKVV2TOzQDCKERJYiYiNKcSLiEwO1JBlpWUV2vUrZ9Pm+S k1kl8gknY4a3mTuqn7s/F+JmgyyhnJDHdsEDrXgMSkQ/TNloQy8D+KEdDROh0M5dJyIs bTKUvrZM1JoWSv8UyfCjdtvbPTVwuiUvZYwHVZBztKM88qk20wYjWs22mcq9ZY6zbUGB bkQmJR4+kJ+9MjcoBOFCd0xFvoOJX/leDtzYsw2b3RN2S9bnkwe6Q/OYU4FFqq1efFgt vQQqalaFUD0y43Nvx+2oXWWzm9UtkmYAA1KOd8720rJt4nsHCrrJ1KZLVdb0DV8jK123 oLXA== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=qglhpDCpXH1L3Y1nZJDHAeJxEwwFudiipwUSawio4JM=; b=dL8SI+YX3EANxL/iUQ4iU1PCxBHvM/GmS86G5201qzZtBojgCKiNYSpTt1mZaxwNtf xmZFBEBE44RUHUWSON2xUPcnDHjygJNsAiCchy7cNE9w25j5O0VgRjUGsnMRB6QfJWsZ qreO8lhNx/ia7BbRiNFjJQ7USRmNriAhG2jcdLNTJcnNz6qdHrxoFCV0pEgXfH/GycLu fzcRe1w7i8XASHLNlV5HO4Gu6lbHUxeVqDxFGg2jrZ7WvdL8uEdT9C4BUg+2h886XaSs ZPmxG4jKgm8z9qdhDGkVquSeg5OxWmL4FWLYlx7D3Z+OUIDAfOwfciSCh4TIvV1wxLaR 90iw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p6si13508988plo.185.2019.04.16.07.04.03; Tue, 16 Apr 2019 07:04:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729484AbfDPOCs (ORCPT + 99 others); Tue, 16 Apr 2019 10:02:48 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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