Name

drm_modeset_backoff — deadlock avoidance backoff

Synopsis

void drm_modeset_backoff (struct drm_modeset_acquire_ctx * ctx);
 

Arguments

ctx

the acquire context

Description

If deadlock is detected (ie. drm_modeset_lock returns -EDEADLK), you must call this function to drop all currently held locks and block until the contended lock becomes available.