platforms/drm: work around tigerlake bug
CCBUG: 440361
This commit is contained in:
parent
e94fbcd853
commit
7879450cdf
2 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue