platforms/drm: allow modesets when setting Broadcast RGB
CCBUG: 442520
This commit is contained in:
parent
8825c01b15
commit
4848964c60
1 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue