Name

drm_atomic_check_only — check whether a given config would work

Synopsis

int drm_atomic_check_only (struct drm_atomic_state * state);
 

Arguments

state

atomic configuration to check

Description

Note that this function can return -EDEADLK if the driver needed to acquire more locks but encountered a deadlock. The caller must then do the usual w/w backoff dance and restart. All other errors are fatal.

Returns

0 on success, negative error code on failure.