backends/drm: fix testing for more connectors than CRTCs

The connectors may not actually be enabled, so the checks could sometimes result in wrongly returning Error::NotEnoughCrtcs.

BUG: 500819

CCBUG: 500797

(cherry picked from commit aa11d89a)

Edited by Xaver Hugl

Merge request reports

Loading