From eddced099df15ca82b95d840365064e5c01ee97d Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Fri, 19 Jul 2024 21:38:13 +0200 Subject: [PATCH] backends/drm: don't unset degamma in prepareAtomicModeset We're now using and, if necessary, un-setting the property in prepareAtomicPresentation BUG: 490517 --- src/backends/drm/drm_pipeline.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backends/drm/drm_pipeline.cpp b/src/backends/drm/drm_pipeline.cpp index 108217cd09..2eb74a89de 100644 --- a/src/backends/drm/drm_pipeline.cpp +++ b/src/backends/drm/drm_pipeline.cpp @@ -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());