From b89f04943c7f4306ff4094b05f979fbc682134a7 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Thu, 9 Sep 2021 11:28:33 +0200 Subject: [PATCH] platforms/drm: only test combinations if there are any Otherwise we could hit an assert in DrmPipeline --- src/plugins/platforms/drm/drm_gpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/drm/drm_gpu.cpp b/src/plugins/platforms/drm/drm_gpu.cpp index 05872813f8..e2a8b82224 100644 --- a/src/plugins/platforms/drm/drm_gpu.cpp +++ b/src/plugins/platforms/drm/drm_gpu.cpp @@ -265,7 +265,7 @@ QVector DrmGpu::findWorkingCombination(const QVector test configuration - if (commitCombination(pipelines)) { + if (pipelines.isEmpty() || commitCombination(pipelines)) { return pipelines; } else { return {};