[PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Daniel Vetter
On Tue, Mar 20, 2012 at 11:09:42AM -0400, Alex Deucher wrote: > On Tue, Mar 20, 2012 at 10:48 AM, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > Code based on the connector properties code. > > > > Two new ioctls: > > - DRM_IOCTL_MODE_CRTC_GETPROPERTIES > > - DRM_IOCTL_MODE_CRTC_SETPROPERTY >

[PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Paulo Zanoni
From: Paulo Zanoni Code based on the connector properties code. Two new ioctls: - DRM_IOCTL_MODE_CRTC_GETPROPERTIES - DRM_IOCTL_MODE_CRTC_SETPROPERTY The i915 driver needs this for the rotation and overscan compensation properties. Other drivers might need this too. v2: replace BUG_ON() for WA

[PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Alex Deucher
On Tue, Mar 20, 2012 at 10:48 AM, Paulo Zanoni wrote: > From: Paulo Zanoni > > Code based on the connector properties code. > > Two new ioctls: > - DRM_IOCTL_MODE_CRTC_GETPROPERTIES > - DRM_IOCTL_MODE_CRTC_SETPROPERTY > > The i915 driver needs this for the rotation and overscan compensation > pro

[PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Rob Clark
On Tue, Mar 20, 2012 at 9:48 AM, Paulo Zanoni wrote: > From: Paulo Zanoni > > Code based on the connector properties code. > > Two new ioctls: > - DRM_IOCTL_MODE_CRTC_GETPROPERTIES > - DRM_IOCTL_MODE_CRTC_SETPROPERTY Just fyi, this is useful to me too.. I need a way to set rotation on a crtc or

Re: [PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Daniel Vetter
On Tue, Mar 20, 2012 at 11:09:42AM -0400, Alex Deucher wrote: > On Tue, Mar 20, 2012 at 10:48 AM, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > Code based on the connector properties code. > > > > Two new ioctls: > > - DRM_IOCTL_MODE_CRTC_GETPROPERTIES > > - DRM_IOCTL_MODE_CRTC_SETPROPERTY >

Re: [PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Alex Deucher
On Tue, Mar 20, 2012 at 10:48 AM, Paulo Zanoni wrote: > From: Paulo Zanoni > > Code based on the connector properties code. > > Two new ioctls: > - DRM_IOCTL_MODE_CRTC_GETPROPERTIES > - DRM_IOCTL_MODE_CRTC_SETPROPERTY > > The i915 driver needs this for the rotation and overscan compensation > pro

Re: [PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Rob Clark
On Tue, Mar 20, 2012 at 9:48 AM, Paulo Zanoni wrote: > From: Paulo Zanoni > > Code based on the connector properties code. > > Two new ioctls: > - DRM_IOCTL_MODE_CRTC_GETPROPERTIES > - DRM_IOCTL_MODE_CRTC_SETPROPERTY Just fyi, this is useful to me too.. I need a way to set rotation on a crtc or

[PATCH 3/5] drm: add CRTC properties

2012-03-20 Thread Paulo Zanoni
From: Paulo Zanoni Code based on the connector properties code. Two new ioctls: - DRM_IOCTL_MODE_CRTC_GETPROPERTIES - DRM_IOCTL_MODE_CRTC_SETPROPERTY The i915 driver needs this for the rotation and overscan compensation properties. Other drivers might need this too. v2: replace BUG_ON() for WA