Home
last modified time | relevance | path

Searched refs:BO_LOCKED (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c28 #define BO_LOCKED 0x4000 macro
113 if (submit->bos[i].flags & BO_LOCKED) { in submit_unlock_object()
117 submit->bos[i].flags &= ~BO_LOCKED; in submit_unlock_object()
135 if (!(submit->bos[i].flags & BO_LOCKED)) { in submit_lock_objects()
142 submit->bos[i].flags |= BO_LOCKED; in submit_lock_objects()
165 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c267 if (flags & BO_LOCKED) in submit_cleanup_bo()
273 unsigned cleanup_flags = BO_PINNED | BO_LOCKED; in submit_unlock_unpin_bo()
294 if (!(submit->bos[i].flags & BO_LOCKED)) { in submit_lock_objects()
299 submit->bos[i].flags |= BO_LOCKED; in submit_lock_objects()
326 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects()
547 unsigned cleanup_flags = BO_LOCKED; in submit_cleanup()
H A Dmsm_gem.h292 #define BO_LOCKED 0x4000 /* obj lock is held */ macro