diff options
Diffstat (limited to 'src/cam/drm.cpp')
-rw-r--r-- | src/cam/drm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cam/drm.cpp b/src/cam/drm.cpp index fbfc0a59..b0602c94 100644 --- a/src/cam/drm.cpp +++ b/src/cam/drm.cpp @@ -377,6 +377,8 @@ int AtomicRequest::commit(unsigned int flags) drmFlags |= DRM_MODE_ATOMIC_ALLOW_MODESET; if (flags & FlagAsync) drmFlags |= DRM_MODE_PAGE_FLIP_EVENT | DRM_MODE_ATOMIC_NONBLOCK; + if (flags & FlagTestOnly) + drmFlags |= DRM_MODE_ATOMIC_TEST_ONLY; return drmModeAtomicCommit(dev_->fd(), request_, drmFlags, this); } |