backends/drm: ignore ctm support on legacy
BUG: 482143
This commit is contained in:
parent
4a42829841
commit
568f9fb666
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue