Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/common/displayport/src/dp_groupimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,19 @@ void GroupImpl::insert(Device * dev)
return;
}
di->activeGroup = this;

// A returning SST sink may have lost DSC state while the head stayed
// attached. Restore sink decompression and the driver's DSC tracking.
if (!parent->linkUseMultistream() &&
di->getConnectorType() == connectorDisplayPort &&
di->isDSCPossible() &&
(dscModeActive == DSC_SINGLE || dscModeActive == DSC_DUAL))
{
if (!parent->setDeviceDscState(dev, true))
{
DP_PRINTF(DP_WARNING, "DP-GRP: failed to restore DSC state for active SST head %u.", headIndex);
}
}
}

members.insertFront(di);
Expand Down