[RFC 07/11] drm: add drm_plane_state

2012-10-12 Thread Rob Clark
From: Rob Clark Break the mutable state of a plane out into a separate structure. 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 their own struct which adds driver specific

[RFC 07/11] drm: add drm_plane_state

2012-10-12 Thread Rob Clark
From: Rob Clark Break the mutable state of a plane out into a separate structure. 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 their own struct which adds driver specific

[RFC 07/11] drm: add drm_plane_state

2012-09-13 Thread Rob Clark
From: Rob Clark Break the mutable state of a plane out into a separate structure. 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 their own struct which adds driver specific

[RFC 07/11] drm: add drm_plane_state

2012-09-12 Thread Rob Clark
From: Rob Clark Break the mutable state of a plane out into a separate structure. 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 their own struct which adds driver specific