drm: accept mgpu tests early to avoid a blit

This commit is contained in:
Vaxry 2024-07-17 23:13:39 +02:00
parent bf651128cf
commit 2dc8ba961c

View file

@ -1336,6 +1336,10 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
flags |= DRM_MODE_PAGE_FLIP_ASYNC;
}
// we can't go further without a blit
if (backend->primary && onlyTest)
return true;
SDRMConnectorCommitData data;
if (STATE.buffer) {