platforms/drm: only test combinations if there are any
Otherwise we could hit an assert in DrmPipeline
This commit is contained in:
parent
ffc4c12548
commit
b89f04943c
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ QVector<DrmPipeline *> DrmGpu::findWorkingCombination(const QVector<DrmPipeline
|
|||
{
|
||||
if (connectors.isEmpty() || crtcs.isEmpty()) {
|
||||
// no further pipelines can be added -> test configuration
|
||||
if (commitCombination(pipelines)) {
|
||||
if (pipelines.isEmpty() || commitCombination(pipelines)) {
|
||||
return pipelines;
|
||||
} else {
|
||||
return {};
|
||||
|
|
Loading…
Reference in a new issue