Searched refs:contended (Results 1 – 10 of 10) 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_exec.c | 83 exec->contended = DRM_EXEC_DUMMY; in drm_exec_init() 99 if (exec->contended != DRM_EXEC_DUMMY) { in drm_exec_fini() 100 drm_gem_object_put(exec->contended); in drm_exec_fini() 116 if (likely(!exec->contended)) { in drm_exec_cleanup() 121 if (likely(exec->contended == DRM_EXEC_DUMMY)) { in drm_exec_cleanup() 122 exec->contended = NULL; in drm_exec_cleanup() 158 struct drm_gem_object *obj = exec->contended; in drm_exec_lock_contended() 165 exec->contended = NULL; in drm_exec_lock_contended() 222 exec->contended = obj; in drm_exec_lock_obj()
|
D | drm_modeset_lock.c | 276 if (WARN_ON(ctx->contended)) in drm_modeset_drop_locks() 296 if (WARN_ON(ctx->contended)) in modeset_lock() 327 ctx->contended = lock; in modeset_lock() 348 struct drm_modeset_lock *contended = ctx->contended; in drm_modeset_backoff() local 350 ctx->contended = NULL; in drm_modeset_backoff() 353 if (WARN_ON(!contended)) in drm_modeset_backoff() 358 return modeset_lock(contended, ctx, ctx->interruptible, true); in drm_modeset_backoff()
|
D | drm_gem.c | 1249 int contended = -1; in drm_gem_lock_reservations() local 1255 if (contended != -1) { in drm_gem_lock_reservations() 1256 struct drm_gem_object *obj = objs[contended]; in drm_gem_lock_reservations() 1267 if (i == contended) in drm_gem_lock_reservations() 1278 if (contended != -1 && contended >= i) in drm_gem_lock_reservations() 1279 dma_resv_unlock(objs[contended]->resv); in drm_gem_lock_reservations() 1282 contended = i; in drm_gem_lock_reservations()
|
D | Kconfig | 131 printed when attempting to lock a contended lock.
|
/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 | 283 int contended, slow_locked = -1, i, ret = 0; in submit_lock_objects() local 292 contended = i; in submit_lock_objects() 321 struct drm_gem_object *obj = submit->bos[contended].obj; in submit_lock_objects() 326 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects() 327 slow_locked = contended; in submit_lock_objects()
|
/drivers/regulator/ |
D | core.c | 222 struct regulator_dev *held, *contended; in regulator_lock_two() local 237 contended = rdev2; in regulator_lock_two() 241 ww_mutex_lock_slow(&contended->mutex, ww_ctx); in regulator_lock_two() 242 contended->ref_cnt++; in regulator_lock_two() 243 contended->mutex_owner = current; in regulator_lock_two() 244 swap(held, contended); in regulator_lock_two() 245 ret = regulator_lock_nested(contended, ww_ctx); in regulator_lock_two()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 184 ww->contended = obj; in __i915_gem_object_lock()
|