Repository navigation
Commit e0d6149
drm/i915: Move drm_framebuffer_unreference out of struct_mutex for takeover
intel_user_framebuffer_destroy() requires the struct_mutex for its
object bookkeeping, so this means that all calls to
drm_framebuffer_unreference must be held without that lock.
This is a simplified version of the identically named patch by Chris Wilson.
Regression from commit ab8d667
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date: Mon Feb 2 15:44:15 2015 +0000
drm/i915: Track old framebuffer instead of object
v2: Bikeshedding.
References: https://bugs.freedesktop.org/show_bug.cgi?id=89166
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>1 parent 08d9bc9 commit e0d6149
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14259 | 14259 | | |
14260 | 14260 | | |
14261 | 14261 | | |
| 14262 | + | |
14262 | 14263 | | |
14263 | 14264 | | |
14264 | 14265 | | |
| |||
14283 | 14284 | | |
14284 | 14285 | | |
14285 | 14286 | | |
14286 | | - | |
14287 | 14287 | | |
14288 | 14288 | | |
14289 | 14289 | | |
14290 | 14290 | | |
14291 | 14291 | | |
14292 | | - | |
14293 | | - | |
14294 | | - | |
14295 | | - | |
| 14292 | + | |
| 14293 | + | |
| 14294 | + | |
| 14295 | + | |
| 14296 | + | |
| 14297 | + | |
| 14298 | + | |
14296 | 14299 | | |
14297 | 14300 | | |
14298 | 14301 | | |
14299 | 14302 | | |
14300 | 14303 | | |
14301 | 14304 | | |
14302 | 14305 | | |
14303 | | - | |
14304 | 14306 | | |
14305 | 14307 | | |
14306 | 14308 | | |
| |||
0 commit comments