commit | 60a5ca015ffd2aacfe5674b5a401cd2a37159e07 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Jun 13 11:10:53 2014 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jun 13 17:45:28 2014 +0200 |
tree | 8dafae791a58ce6884e6b3c3d2c8f385c99beb1c | |
parent | 642f9bb558decd546c73dfc7064f2138a3428f23 [diff] |
drm/i915: Add locking around framebuffer_references-- obj->framebuffer_references isn't an atomic_t so the decrement needs to be protected by some lock. struct_mutex seems like the appropriate lock here, and we may already take it for the obj unref anyway. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>