Re: Passing multi-screen layout to KMS driver

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

 



Adding Dave on CC here as the original creator of the suggested X and Y properties.

15.12.2016 15:03, Michael Thayer wrote:
14.12.2016 11:11, Gerd Hoffmann wrote:

[Summary of cut text: VirtualBox and Qemu use emulated graphics tablets to pass the host pointer through to the guest. X.Org and GNOME Shell/Wayland map the tablet range to cover the whole virtual desktop, but GNOME Shell/Wayland does not provide any way for the host to discover the layout of that desktop in order to map positions in host windows to positions on guest screens.]

So I would be interested to know whether anyone else has thought about
this problem, and possibly even about an interface to let the compositor
pass the information.  If not, would people be open to the idea?  I
would much rather have something generally agreed on than hack
something up.
[...]
[...]  It would be
nice though as I said if the compositor (or whoever is controlling the
display) could just provide the layout information to the driver itself.
 We already have "suggested X" and "suggested Y" for the other
direction, and for now I have solved it by always providing "suggested
X" and "suggested Y" hints in the driver.

My idea is to submit a patch which removes the DRM_MODE_PROP_IMMUTABLE flag from the suggested X and Y connector properties (with appropriate documentation), so that the compositor can use them to tell the driver about the layout. It would be greatly appreciated if someone could tell me if that is likely to be acceptable.

Regards,

Michael
--
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
_______________________________________________
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