Re: inteldrm: add a handler for the WSDISPLAYIO_GINFO ioctl

2017-06-19 Thread Mark Kettenis
> Date: Sat, 17 Jun 2017 21:57:08 +0200 > From: Frederic Cambus > > Hi tech@, > > Add a handler for the WSDISPLAYIO_GINFO ioctl in inteldrm, allowing > to retrieve basic information about a framebuffer display. > > When running wsconsctl on a machine with inteldrm support,

Re: inteldrm: add a handler for the WSDISPLAYIO_GINFO ioctl

2017-06-18 Thread Ted Unangst
Frederic Cambus wrote: > On Sat, Jun 17, 2017 at 05:27:38PM -0400, Ted Unangst wrote: > > > > Add a handler for the WSDISPLAYIO_GINFO ioctl in inteldrm, allowing > > > to retrieve basic information about a framebuffer display. > > [...] > > > why? what program will use this information? > >

Re: inteldrm: add a handler for the WSDISPLAYIO_GINFO ioctl

2017-06-18 Thread Frederic Cambus
On Sat, Jun 17, 2017 at 05:27:38PM -0400, Ted Unangst wrote: > > Add a handler for the WSDISPLAYIO_GINFO ioctl in inteldrm, allowing > > to retrieve basic information about a framebuffer display. [...] > why? what program will use this information? The reason I would like to add this handler

Re: inteldrm: add a handler for the WSDISPLAYIO_GINFO ioctl

2017-06-17 Thread Ted Unangst
Frederic Cambus wrote: > Hi tech@, > > Add a handler for the WSDISPLAYIO_GINFO ioctl in inteldrm, allowing > to retrieve basic information about a framebuffer display. > > When running wsconsctl on a machine with inteldrm support, this now > returns those additional fields: > >

inteldrm: add a handler for the WSDISPLAYIO_GINFO ioctl

2017-06-17 Thread Frederic Cambus
Hi tech@, Add a handler for the WSDISPLAYIO_GINFO ioctl in inteldrm, allowing to retrieve basic information about a framebuffer display. When running wsconsctl on a machine with inteldrm support, this now returns those additional fields: display.width=1600 display.height=900 display.depth=32