backends/drm: don't unset degamma in prepareAtomicModeset

We're now using and, if necessary, un-setting the property in prepareAtomicPresentation

BUG: 490517
This commit is contained in:
Xaver Hugl 2024-07-19 21:38:13 +02:00
parent 2340470a9a
commit eddced099d

View file

@ -345,9 +345,6 @@ bool DrmPipeline::prepareAtomicModeset(DrmAtomicCommit *commit)
commit->addProperty(m_pending.crtc->active, 1);
commit->addBlob(m_pending.crtc->modeId, m_pending.mode->blob());
if (m_pending.crtc->degammaLut.isValid()) {
commit->addBlob(m_pending.crtc->degammaLut, nullptr);
}
const auto primary = m_pending.crtc->primaryPlane();
commit->addProperty(primary->crtcId, m_pending.crtc->id());