[Intel-gfx] [PATCH 1/6] drm: Add vblank prepare and unprepare hooks.

2016-08-04 Thread Daniel Vetter
On Wed, Aug 03, 2016 at 02:33:34PM -0700, Rodrigo Vivi wrote: > This will allow drivers to control specific power saving > feature and power domains when dealing with vblanks. > > Vblanks code are protected by spin_locks where we can't > have anything that can sleep. While power saving features >

[PATCH 1/6] drm: Add vblank prepare and unprepare hooks.

2016-08-03 Thread Rodrigo Vivi
This will allow drivers to control specific power saving feature and power domains when dealing with vblanks. Vblanks code are protected by spin_locks where we can't have anything that can sleep. While power saving features and power domain code have mutexes to control the states. Mutex can sleep