backends/drm: ignore ctm support on legacy

BUG: 482143
This commit is contained in:
Xaver Hugl 2024-03-06 21:55:47 +01:00
parent 4a42829841
commit 568f9fb666

View file

@ -488,7 +488,7 @@ QMap<uint32_t, QList<uint64_t>> DrmPipeline::cursorFormats() const
bool DrmPipeline::hasCTM() const
{
return m_pending.crtc && m_pending.crtc->ctm.isValid();
return gpu()->atomicModeSetting() && m_pending.crtc && m_pending.crtc->ctm.isValid();
}
bool DrmPipeline::hasGammaRamp() const