sdm: Fix the deadlock in DeferFpsConfig feature use case
Define kSyncInvalidateDisplay event for all the non-DrawCycle threads,
as they must wait for "Sequence Wait Scope Lock", which gets released
at completion of current draw cycle. Because kInvalidateDisplay event
was meant for features like DeferFpsConfig where SDM DrawCycle thread
itself triggers this event, when ReconfigureDisplay happens in Post
Commit stage, to indicate HWC Display to enforce validation in next
draw cycle. This fixes the deadlock in DeferFpsConfig use case.
CRs-Fixed: 2650650
Change-Id: I7a15b530b7f184a893c944bbcdb588d35b6f4027
3 files changed