[PATCH 26/37] drm: fb refcounting for dirtyfb_ioctl

2012-12-12 Thread Daniel Vetter
We only need to ensure that the fb stays around for long enough. While at it, only grab the modeset locks when we need them (since most drivers don't implement the dirty callback, this should help jitter and stalls when using the generic modeset driver). Signed-off-by: Daniel Vetter ---

[PATCH 26/37] drm: fb refcounting for dirtyfb_ioctl

2012-12-12 Thread Daniel Vetter
We only need to ensure that the fb stays around for long enough. While at it, only grab the modeset locks when we need them (since most drivers don't implement the dirty callback, this should help jitter and stalls when using the generic modeset driver). Signed-off-by: Daniel Vetter