[Intel-gfx] [RFC] drm: implement DRM_IOCTL_MODE_SETROTATION

2012-01-16 Thread Dave Airlie
On Mon, Jan 16, 2012 at 7:59 PM, Paulo Zanoni wrote: > Hi > > 2012/1/5 Jakob Bornecrantz : >> Couldn't this be done by just adding a property instead of a ioctl? >> > > So I've discussed this with Jesse and it seems the best way to turn > this into a property is to add support for CRTC

[Intel-gfx] [RFC] drm: implement DRM_IOCTL_MODE_SETROTATION

2012-01-16 Thread Paulo Zanoni
2012/1/16 Dave Airlie : > > Okay I must have missed the bit where you explain why a connector > property isn't used? The registers that contain the rotation information are the pipe registers and, as far as I understood, each pipe is associated with only one crtc. We can have more than one

Re: [Intel-gfx] [RFC] drm: implement DRM_IOCTL_MODE_SETROTATION

2012-01-16 Thread Dave Airlie
On Mon, Jan 16, 2012 at 7:59 PM, Paulo Zanoni przan...@gmail.com wrote: Hi 2012/1/5 Jakob Bornecrantz ja...@vmware.com: Couldn't this be done by just adding a property instead of a ioctl? So I've discussed this with Jesse and it seems the best way to turn this into a property is to add

Re: [Intel-gfx] [RFC] drm: implement DRM_IOCTL_MODE_SETROTATION

2012-01-16 Thread Paulo Zanoni
2012/1/16 Dave Airlie airl...@gmail.com: Okay I must have missed the bit where you explain why a connector property isn't used? The registers that contain the rotation information are the pipe registers and, as far as I understood, each pipe is associated with only one crtc. We can have more

[Intel-gfx] [RFC] drm: implement DRM_IOCTL_MODE_SETROTATION

2012-01-06 Thread Jesse Barnes
On Thu, 05 Jan 2012 19:10:43 -0800 Eric Anholt wrote: > On Thu, 5 Jan 2012 14:16:23 -0200, przanoni at gmail.com wrote: > > From: Paulo Zanoni > > > > This ioctl is used to signal the drivers that the screen is rotated, > > not to make the drivers rotate the screen. > > - add a

Re: [Intel-gfx] [RFC] drm: implement DRM_IOCTL_MODE_SETROTATION

2012-01-06 Thread Jesse Barnes
On Thu, 05 Jan 2012 19:10:43 -0800 Eric Anholt e...@anholt.net wrote: On Thu, 5 Jan 2012 14:16:23 -0200, przan...@gmail.com wrote: From: Paulo Zanoni paulo.r.zan...@intel.com This ioctl is used to signal the drivers that the screen is rotated, not to make the drivers rotate the screen.