commit | 4ccf097f1935321f03ad36218588a9e446006b6a | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Dec 11 00:38:18 2012 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Sun Jan 20 22:17:06 2013 +0100 |
tree | d6238772eb276ac0c7d56faf16fb920990773e9f | |
parent | 58c0dca10614117cf4b385e3314e79e3b37fa66b [diff] |
drm: fb refcounting for dirtyfb_ioctl 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). Reviewed-by: Rob Clark <rob@ti.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>