Logo Search packages:      
Sourcecode: linux version File versions  Download package

void drm_ctxbitmap_free ( struct drm_device *  dev,
int  ctx_handle 

Free a handle from the context bitmap.

dev DRM device.
ctx_handle context handle.
Clears the bit specified by ctx_handle in drm_device::ctx_bitmap and the entry in drm_device::ctx_idr, while holding the drm_device::struct_mutex lock.

Definition at line 59 of file drm_context.c.

Referenced by drm_release(), and drm_rmctx().

      idr_remove(&dev->ctx_idr, ctx_handle);

Generated by  Doxygen 1.6.0   Back to index