[PATCH 24/35] drm: push modeset_lock_all into ->fb_create driver callbacks

2013-01-10 Thread Daniel Vetter
And drop it where it's not needed. Most driver just lookup the gem object, allocate an fb struct, fill in all the useful fields and then register it with drm_framebuffer_init. All of these operations are already separately locked, and since we only put the fb into the fpriv->fbs list _after_ havin

[PATCH 24/35] drm: push modeset_lock_all into ->fb_create driver callbacks

2013-01-10 Thread Daniel Vetter
And drop it where it's not needed. Most driver just lookup the gem object, allocate an fb struct, fill in all the useful fields and then register it with drm_framebuffer_init. All of these operations are already separately locked, and since we only put the fb into the fpriv->fbs list _after_ havin