mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 06:06:00 +01:00
drm: accept mgpu tests early to avoid a blit
This commit is contained in:
parent
bf651128cf
commit
2dc8ba961c
1 changed files with 4 additions and 0 deletions
|
@ -1336,6 +1336,10 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
||||||
flags |= DRM_MODE_PAGE_FLIP_ASYNC;
|
flags |= DRM_MODE_PAGE_FLIP_ASYNC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// we can't go further without a blit
|
||||||
|
if (backend->primary && onlyTest)
|
||||||
|
return true;
|
||||||
|
|
||||||
SDRMConnectorCommitData data;
|
SDRMConnectorCommitData data;
|
||||||
|
|
||||||
if (STATE.buffer) {
|
if (STATE.buffer) {
|
||||||
|
|
Loading…
Reference in a new issue