[PATCH weston v9 8/9] weston: support clone mode on DRM-frontend

Pekka Paalanen ppaalanen at gmail.com
Wed Jun 6 10:35:48 UTC 2018


On Thu, 31 May 2018 12:49:14 +0300
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Wed, 30 May 2018 10:00:57 +0000
> Marius-cristian Vlad <marius-cristian.vlad at nxp.com> wrote:
> 

> > One more thing I found that using the following config:
> > 
> > [output]
> > name=HDMI-A-1
> > mode=current
> > same-as=HDMI-A-2
> > 
> > [output]
> > name=HDMI-A-2
> > mode=current
> > 
> > I get ``Output 'HDMI-A-2' enabled with head(s) HDMI-A-1, HDMI-A-2.''
> > 
> > I would've expected  to see ``Output 'HDMI-A-1' enabled with head(s)
> > HDMI-A-1, HDMI-A-2.'' I don't know of this matters or not... the other
> > way around is the same (using in HDMI-A-2 section same-as=HDMI-A-1).   
> 
> Right. The name is usually chosen by the controlling output section.
> The output section with the "same-as" key is a slave section, where all
> other keys are ignored. Following the chain of "same-as" keys one finds
> the controlling output section, identified by not having a "same-as"
> key.
> 
> That's odd that the name didn't change with the opposite configuration.
> I'll have to look into it.

Hi,

I tried it again, and I get what I expected:

If section A has same-as=B, then the output will be named B and the
configuration for both heads is taken from section B.

If section B has same-as=A, then the output will be named A and the
configuration is taken from section A.

Do you think "same-as" is not informative enough on implying which
section will actually apply as the configuration, or do you perhaps
understand it the opposite of what it does? Do you have suggestions?

I intended it to read as: This section/head is the same as that other
named section.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180606/1f5bdc65/attachment.sig>


More information about the wayland-devel mailing list