platforms/drm: allow modesets when setting Broadcast RGB

CCBUG: 442520
This commit is contained in:
Xaver Hugl 2021-09-17 00:40:41 +02:00
parent 8825c01b15
commit 4848964c60

View file

@ -301,7 +301,11 @@ bool DrmConnector::vrrCapable() const
bool DrmConnector::needsModeset() const
{
return getProp(PropertyIndex::CrtcId)->needsCommit();
if (getProp(PropertyIndex::CrtcId)->needsCommit()) {
return true;
}
const auto &rgb = getProp(PropertyIndex::Broadcast_RGB);
return rgb && rgb->needsCommit();
}
void DrmConnector::updateModes()