Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 29, 2018 at 12:23 PM Andrzej Hajda <a.hajda@xxxxxxxxxxx> wrote:
> On 29.08.2018 12:01, Liviu Dudau wrote:
> > On Wed, Aug 29, 2018 at 11:58:20AM +0200, Andrzej Hajda wrote:
> >> On 28.08.2018 15:45, Linus Walleij wrote:
> >>> On Mon, Aug 27, 2018 at 1:53 PM Andrzej Hajda <a.hajda@xxxxxxxxxxx> wrote:

> >>> I'm sorry RTSM is half/half. Not my fault. I can't fix...
> >> I do not know the platform, so I  I have dug little bit, but I wan't
> >> call it  thorough research. Just please be kind if I wrote sth stupid.
> >> What I have found:
> >> 1. DTS shows CLCD is pl111.
> >> 2. pl111 documentation says it's output interface supports STN and TFT
> >> up to 24-bit bus. I do not know STN, but TFT seems to be compatible with
> >> DPI.
> >>
> >> If it is correct, dpi panel seems to be OK. And I think it is less
> >> important how the emulator works, more important is that it should
> >> emulate pl111, including it's output interfaces.
> >
> > Yeah, unfortunately that ship has sailed a long time ago. The emulator
> > people thought emulating the register interface is good enough and took
> > liberties on how the behaviour was "emulated". End result: output
> > interfaces are not the same.
>
> So what is wrong/missing with dpi panel?

I suppose you are referring to:
Documentation/devicetree/bindings/display/panel/panel-dpi.txt

In short, the following is what is wrong with "dpi-panel":

cd drivers/gpu/drm/panel
grep 'panel-dpi'
<empty string>

This is because the DRM subsystem does not seem to support
any "generic DPI panel" (compatible = "dpi-panel") like fbdev does.

I guess I *could* add support for it to panel-simple.c, but is that
what we want?

The problem I would personally have with it is that "panel-dpi" is
a bus format or transport mechanism, not a real panel.

Everything else in panel-simple has a proper compatible string
to the actual display following the "vendor,product" convention.

Essentially (IMO) "panel-dpi" as compatible string is no better
than "virtual-display-bridge" as suggested in this patch. It is even
a worse fit since all the stuff that DPI includes (like electronic
signals a, b, c...) certainly does not exist in the RTSMv8 emulator.
What it does (as I explained) is just read what was written into
the x/y and color depth resolution registers and slap something
into the emulator window based on that. It doesn't generate
or even attempt to emulate any electronic signals. And this
emulator is what I am trying to support in the first place.

So I would really like to hear what Thierry has to say about using
"panel-dpi" for that before trying that approach.

I feel it would be equivalent to just add a panel with the name
"arm,rtsmv8" into panel-simple and stop trying to be generic,
is this what we want? I'm fine with it, I just want to progress
the patch series in some way.

Yours,
Linus Walleij
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux