Re: [RFC][PATCH 1/3] use new pm_ops in DRM drivers

From: Benjamin Herrenschmidt
Date: Thu Apr 03 2008 - 17:49:59 EST



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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/