[PATCH 1/7] drm: add atomic fxns

2014-07-24 Thread "Stéphane Viau"
Hi, >> { >> int ret = -EINVAL; >> -struct drm_connector *connector = obj_to_connector(obj); >> >> /* Do DPMS ourselves */ >> if (property == connector->dev->mode_config.dpms_property) { >> if (connector->funcs->dpms) >> (*connector->funcs->dpms

[PATCH 1/7] drm: add atomic fxns

2014-07-24 Thread Thierry Reding
On Wed, Jul 23, 2014 at 03:38:14PM -0400, Rob Clark wrote: > The 'atomic' mechanism allows for multiple properties to be updated, > checked, and commited atomically. This will be the basis of atomic- > modeset and nuclear-pageflip. > > The basic flow is: > >state = dev->atomic_begin(); >

[PATCH 1/7] drm: add atomic fxns

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 11:34:00PM +0200, Daniel Vetter wrote: > On Wed, Jul 23, 2014 at 03:38:14PM -0400, Rob Clark wrote: > > The 'atomic' mechanism allows for multiple properties to be updated, > > checked, and commited atomically. This will be the basis of atomic- > > modeset and nuclear-pagef

[PATCH 1/7] drm: add atomic fxns

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 03:38:14PM -0400, Rob Clark wrote: > The 'atomic' mechanism allows for multiple properties to be updated, > checked, and commited atomically. This will be the basis of atomic- > modeset and nuclear-pageflip. > > The basic flow is: > >state = dev->atomic_begin(); >

[PATCH 1/7] drm: add atomic fxns

2014-07-23 Thread Rob Clark
The 'atomic' mechanism allows for multiple properties to be updated, checked, and commited atomically. This will be the basis of atomic- modeset and nuclear-pageflip. The basic flow is: state = dev->atomic_begin(); for (... one or more ...) obj->set_property(obj, state, prop, value);

[PATCH 1/7] drm: add atomic fxns

2014-05-30 Thread Rob Clark
The 'atomic' mechanism allows for multiple properties to be updated, checked, and commited atomically. This will be the basis of atomic- modeset and nuclear-pageflip. The basic flow is: state = dev->atomic_begin(); for (... one or more ...) obj->set_property(obj, state, prop, value);