On Wednesday, July 19th, 2023 at 03:42, Zack Rusin <[email protected]> wrote:
> From: Zack Rusin <[email protected]> > > Virtualized drivers place additional restrictions on the cursor plane > which breaks the contract of universal planes. To allow atomic > modesettings with virtualized drivers the clients need to advertise > that they're capable of dealing with those extra restrictions. > > To do that introduce DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT which > lets DRM know that the client is aware of and capable of dealing with > the extra restrictions on the virtual cursor plane. > > Setting this option to true makes DRM expose the cursor plane on > virtualized drivers. The userspace is expected to set the hotspots > and handle mouse events on that plane. > > Signed-off-by: Zack Rusin <[email protected]> > Cc: Maarten Lankhorst <[email protected]> > Cc: Maxime Ripard <[email protected]> > Cc: Thomas Zimmermann <[email protected]> > Cc: David Airlie <[email protected]> > Cc: Daniel Vetter <[email protected]> > Cc: [email protected] > Acked-by: Pekka Paalanen <[email protected]> > Reviewed-by: Javier Martinez Canillas <[email protected]> Looks good! Reviewed-by: Simon Ser <[email protected]>
