Skip to content

Commit

Permalink
drm: only allow multigpu blit to implcit, not all external formats
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalco committed Feb 2, 2025
1 parent 257b205 commit 9441a06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/backend/drm/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,11 @@ bool CDRMRenderer::verifyDestinationDMABUF(const SDMABUFAttrs& attrs) {
if (fmt.modifier != attrs.modifier)
continue;

if (fmt.modifier != DRM_FORMAT_INVALID && fmt.external) {
backend->log(AQ_LOG_ERROR, "EGL (verifyDestinationDMABUF): FAIL, format is external-only");
return false;
}

return true;
}

Expand Down

0 comments on commit 9441a06

Please sign in to comment.