[RFCv2 11/13] drm: convert crtc to properties/state

2013-10-22 Thread Rob Clark
On Tue, Oct 22, 2013 at 6:27 PM, Matt Roper wrote: > On Mon, Oct 14, 2013 at 01:26:46PM -0400, Rob Clark wrote: >> Break the mutable state of a crtc out into a separate structure >> and use atomic properties mechanism to set crtc attributes. This >> makes it easier to have some helpers for crtc-

[RFCv2 11/13] drm: convert crtc to properties/state

2013-10-22 Thread Matt Roper
On Mon, Oct 14, 2013 at 01:26:46PM -0400, Rob Clark wrote: > Break the mutable state of a crtc out into a separate structure > and use atomic properties mechanism to set crtc attributes. This > makes it easier to have some helpers for crtc->set_property() > and for checking for invalid params. Th

[RFCv2 11/13] drm: convert crtc to properties/state

2013-10-14 Thread Rob Clark
Break the mutable state of a crtc out into a separate structure and use atomic properties mechanism to set crtc attributes. This makes it easier to have some helpers for crtc->set_property() and for checking for invalid params. The idea is that individual drivers can wrap the state struct in thei