diff --git a/src/plugins/platforms/drm/drm_object_crtc.cpp b/src/plugins/platforms/drm/drm_object_crtc.cpp index f10756a343..32ffe967d2 100644 --- a/src/plugins/platforms/drm/drm_object_crtc.cpp +++ b/src/plugins/platforms/drm/drm_object_crtc.cpp @@ -23,7 +23,6 @@ DrmCrtc::DrmCrtc(DrmGpu *gpu, uint32_t crtcId, int pipeIndex) PropertyDefinition(QByteArrayLiteral("ACTIVE")), PropertyDefinition(QByteArrayLiteral("VRR_ENABLED")), PropertyDefinition(QByteArrayLiteral("GAMMA_LUT")), - PropertyDefinition(QByteArrayLiteral("GAMMA_LUT_SIZE")), }, DRM_MODE_OBJECT_CRTC) , m_crtc(drmModeGetCrtc(gpu->fd(), crtcId)) , m_pipeIndex(pipeIndex) diff --git a/src/plugins/platforms/drm/drm_object_crtc.h b/src/plugins/platforms/drm/drm_object_crtc.h index ed1a45d9c5..f9d961c49e 100644 --- a/src/plugins/platforms/drm/drm_object_crtc.h +++ b/src/plugins/platforms/drm/drm_object_crtc.h @@ -34,7 +34,6 @@ public: Active, VrrEnabled, Gamma_LUT, - Gamma_LUT_size, Count }; @@ -58,9 +57,6 @@ public: void flipBuffer(); int gammaRampSize() const { - if (auto prop = getProp(PropertyIndex::Gamma_LUT_size)) { - return prop->current(); - } return m_crtc->gamma_size; }