drm: avoid testing with a pf event

This commit is contained in:
Vaxry 2024-08-03 19:10:09 +02:00
parent 18c6a8ccaf
commit a70fc6a2fd
1 changed files with 1 additions and 1 deletions

View File

@ -1544,7 +1544,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
// to avoid doing this over and over. // to avoid doing this over and over.
data.modeset = true; data.modeset = true;
data.blocking = true; data.blocking = true;
data.flags = DRM_MODE_PAGE_FLIP_EVENT; data.flags = onlyTest ? 0 : DRM_MODE_PAGE_FLIP_EVENT;
ok = connector->commitState(data); ok = connector->commitState(data);
if (!ok) if (!ok)