Searched refs:contended (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/i915/ |
D | i915_gem_ww.c | 14 ww->contended = NULL; in i915_gem_ww_ctx_init() 38 WARN_ON(ww->contended); in i915_gem_ww_ctx_fini() 46 if (WARN_ON(!ww->contended)) in i915_gem_ww_ctx_backoff() 51 ret = dma_resv_lock_slow_interruptible(ww->contended->base.resv, &ww->ctx); in i915_gem_ww_ctx_backoff() 53 dma_resv_lock_slow(ww->contended->base.resv, &ww->ctx); in i915_gem_ww_ctx_backoff() 56 list_add_tail(&ww->contended->obj_link, &ww->obj_list); in i915_gem_ww_ctx_backoff() 58 i915_gem_object_put(ww->contended); in i915_gem_ww_ctx_backoff() 60 ww->contended = NULL; in i915_gem_ww_ctx_backoff()
|
D | i915_gem_ww.h | 13 struct drm_i915_gem_object *contended; member
|
/drivers/gpu/drm/ |
D | drm_modeset_lock.c | 228 WARN_ON(ctx->contended); in drm_modeset_drop_locks() 246 WARN_ON(ctx->contended); in modeset_lock() 276 ctx->contended = lock; in modeset_lock() 296 struct drm_modeset_lock *contended = ctx->contended; in drm_modeset_backoff() local 298 ctx->contended = NULL; in drm_modeset_backoff() 300 if (WARN_ON(!contended)) in drm_modeset_backoff() 305 return modeset_lock(contended, ctx, ctx->interruptible, true); in drm_modeset_backoff()
|
D | drm_gem.c | 1200 int contended = -1; in drm_gem_lock_reservations() local 1206 if (contended != -1) { in drm_gem_lock_reservations() 1207 struct drm_gem_object *obj = objs[contended]; in drm_gem_lock_reservations() 1218 if (i == contended) in drm_gem_lock_reservations() 1229 if (contended != -1 && contended >= i) in drm_gem_lock_reservations() 1230 dma_resv_unlock(objs[contended]->resv); in drm_gem_lock_reservations() 1233 contended = i; in drm_gem_lock_reservations()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 124 int contended, slow_locked = -1, i, ret = 0; in submit_lock_objects() local 133 contended = i; in submit_lock_objects() 160 obj = &submit->bos[contended].obj->base; in submit_lock_objects() 165 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects() 166 slow_locked = contended; in submit_lock_objects()
|
/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 271 int contended, slow_locked = -1, i, ret = 0; in submit_lock_objects() local 280 contended = i; in submit_lock_objects() 309 struct msm_gem_object *msm_obj = submit->bos[contended].obj; in submit_lock_objects() 314 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects() 315 slow_locked = contended; in submit_lock_objects()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 192 ww->contended = obj; in __i915_gem_object_lock()
|