[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 0/9] Fix cursor planes with virtualized drivers
|
From: |
Simon Ser |
|
Subject: |
Re: [PATCH v6 0/9] Fix cursor planes with virtualized drivers |
|
Date: |
Mon, 23 Oct 2023 08:19:05 +0000 |
On Monday, October 23rd, 2023 at 10:14, Albert Esteve <aesteve@redhat.com>
wrote:
> On Mon, Oct 23, 2023 at 9:55 AM Simon Ser <contact@emersion.fr> wrote:
>
> > On Monday, October 23rd, 2023 at 09:46, Albert Esteve <aesteve@redhat.com>
> > wrote:
> >
> > > Link to the IGT test covering this patch (already merged):
> > > https://lists.freedesktop.org/archives/igt-dev/2023-July/058427.html
> >
> > Hmm. IGT should not be merged before the kernel, because as long as the
> > kernel is not merged there might be some uAPI changes.
>
> Right, but uAPI header was not updated on the IGT side. As per suggestion of
> the
> maintainers, I added a static variable that matches the definition on this
> patch:
> https://lists.freedesktop.org/archives/igt-dev/2023-August/058803.html
>
> +/**
> + * Clients which do set cursor hotspot and treat the cursor plane
> + * like a mouse cursor should set this property.
> + */
> +#define LOCAL_DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT 6
>
> Once this patch gets upstreamed, the localized definition will be removed,
> replaced by the real one.
What if this patch gets delayed and another patch using the same number
is merged into the kernel first? What if someone finds a design flaw in
the uAPI and it needs to be completely changed? The IGT test would then
be completely broken.
As a rule of thumb: never merge user-space patches before kernel. As
soon as the kernel part is merged, it's fine to locally copy definitions
if desirable.
> > > Mutter patch:
> > > https://lists.freedesktop.org/archives/igt-dev/2023-July/058427.html
> >
> > Seems like this link is same as IGT? Copy-pasta fail maybe?
>
> Ah yes, my bad, this is the correct link:
> https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3337
Thanks!
- [PATCH v6 3/9] drm/vmwgfx: Use the hotspot properties from cursor planes, (continued)
- [PATCH v6 3/9] drm/vmwgfx: Use the hotspot properties from cursor planes, Albert Esteve, 2023/10/23
- [PATCH v6 4/9] drm/qxl: Use the hotspot properties from cursor planes, Albert Esteve, 2023/10/23
- [PATCH v6 6/9] drm/virtio: Use the hotspot properties from cursor planes, Albert Esteve, 2023/10/23
- [PATCH v6 5/9] drm/vboxvideo: Use the hotspot properties from cursor planes, Albert Esteve, 2023/10/23
- [PATCH v6 8/9] drm: Introduce DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT, Albert Esteve, 2023/10/23
- [PATCH v6 9/9] drm: Introduce documentation for hotspot properties, Albert Esteve, 2023/10/23
- [PATCH v6 7/9] drm: Remove legacy cursor hotspot code, Albert Esteve, 2023/10/23
- Re: [PATCH v6 0/9] Fix cursor planes with virtualized drivers, Simon Ser, 2023/10/23