backends/drm: fix the incorrect use of std::optional
we only enable an output if we do declare it's enabled = true.
(cherry picked from commit d3a2a8ea)
Co-authored-by: zhenyan huang huangzhenyan@uniontech.com
we only enable an output if we do declare it's enabled = true.
(cherry picked from commit d3a2a8ea)
Co-authored-by: zhenyan huang huangzhenyan@uniontech.com