Messages in this thread | | | Subject | Re: [RFC][PATCH 1/3] use new pm_ops in DRM drivers | From | Benjamin Herrenschmidt <> | Date | Fri, 04 Apr 2008 08:47:47 +1100 |
| |
On Thu, 2008-04-03 at 11:50 -0700, Jesse Barnes wrote: > +static struct pm_ops i915_pm_ops = { > + .prepare = NULL, /* DRM core should prevent any new ioctls? */ > + .complete = NULL, /* required to re-enable DRM client requests > */
The DRM core could definitely provide generic prepare & complete that sync'up with user space, making sure the command streams stop etc...
Ben.
| |