Backport to 9.0.0 of: backend-drm: schedule connector disable for detached head

2023-12-11 Thread Martin Petzold

Has anyone backported this [1] patch to Weston 9.0.0?

[1] 
https://gitlab.freedesktop.org/wayland/weston/-/commit/bcacd9ec5a924317416eabb65a6cd6767d5bfb94


Thanks,

Martin



Re: Backport to 9.0.0 of: backend-drm: schedule connector disable for detached head

2023-12-11 Thread Marius Vlad
Hi,

On Mon, Dec 11, 2023 at 11:20:16AM +0100, Martin Petzold wrote:
> Has anyone backported this [1] patch to Weston 9.0.0?
> 
> [1] 
> https://gitlab.freedesktop.org/wayland/weston/-/commit/bcacd9ec5a924317416eabb65a6cd6767d5bfb94
No, it got backported to Weston 11. Think it might be possible to get it
in for Weston 10, but it probably requires quite a of work to get that
in Weston 9, if possible at all. Also, Weston 9 never had any
bug-fixes/point releases, we started doing that from Weston 10.

See https://gitlab.freedesktop.org/wayland/weston/-/releases

> 
> Thanks,
> 
> Martin
> 


signature.asc
Description: PGP signature


Re: what are the protocol rules about uniqueness of event and request names?

2023-12-11 Thread Pekka Paalanen
On Fri, 8 Dec 2023 10:10:28 -0500
jleivent  wrote:

> On Fri, 8 Dec 2023 12:54:35 +0100
> Sebastian Wick  wrote:
> 
> > ...
> > I think a more useful thing to do would be to add this restriction (an
> > interface cannot have an event and a request with the same name) to
> > the documentation and to wayland-scanner.
> >  
> 
> Also: an event and request with the same name would probably confuse
> anyone using WAYLAND_DEBUG.

The printout includes an arrow for sending, so you can use that to
decipher event from request if you know whether you are looking at
client or server side.

> But: Would changing wayland-scanner to prevent this be backward
> compatible?  Can't someone somewhere already have an event/request pair
> with the same name in their own private protocol extension?

One would just have to try with the latest and some old version of
wayland-scanner, would the generated C code and headers ever pass a C
compiler. There are no other obstacles in using the same name for both
event and request in the same interface.

If it always fails to build, then adding the check would be ok. If it
builds fine, then the check would be backward-incompatible.

A completely other question is whether that break would be a good idea
anyway.


Thanks,
pq


pgp36nqod3UXn.pgp
Description: OpenPGP digital signature