[RFCv2 10/13] drm: convert plane to properties/state

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

[RFCv2 10/13] drm: convert plane to properties/state

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

[RFCv2 10/13] drm: convert plane to properties/state

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