sdm: Add interface to disable PU for one frame
There are too many clients that need to disable PU for one frame,
CWB, Resolution switch, Dest scaling, Color Manager, but for lack
of an explicit API, they all relied on the existing master control
API for PU that should be used only by DPPS and Panel mode switch.
This change adds a new API. Any PU toggling for composition strictly
happens on the draw thread, disable before prepare, enable after
commit. Master PU control can only be toggled by DPPS and panel mode
switch.
CRs-Fixed: 1005180
Change-Id: I5e62a44513036fbc8e296a9f60eb2d85726b3970
13 files changed