mbox series

[5.2,0/3] Ingenic JZ47xx KMS driver

Message ID 20190228220756.20262-1-paul@crapouillou.net (mailing list archive)
Headers show
Series Ingenic JZ47xx KMS driver | expand

Message

Paul Cercueil Feb. 28, 2019, 10:07 p.m. UTC
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.

Greetings,
-Paul

Comments

Ezequiel Garcia March 11, 2019, 12:02 a.m. UTC | #1
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
Paul Cercueil March 11, 2019, 11:45 a.m. UTC | #2
Hi Ezequiel,

On Mon, Mar 11, 2019 at 1:02 AM, Ezequiel Garcia 
<ezequiel@collabora.com> 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.

-Paul
Ezequiel Garcia April 16, 2019, 2:02 p.m. UTC | #3
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 
> <ezequiel@collabora.com> 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