sdm: Define client interface to enable/disable idle pc
1. Define client interface to enable/disable idle power collapse
2. Maintain refcount to handle concurrent enable/disable
3. Trigger the screen refresh and wait for the next frame commit
done event before returning the control to the client on disable
idle pc
4. Enable idle pc on suspend and reset the refcount
5. Add binder support to enable/disable idle pc
CRs-Fixed: 2255316
Change-Id:Ibcaf9d4edca502cc91e9b201be822bd48313a635
diff --git a/libqservice/IQService.h b/libqservice/IQService.h
index d392e12..929f7b6 100644
--- a/libqservice/IQService.h
+++ b/libqservice/IQService.h
@@ -79,6 +79,7 @@
GET_COMPOSER_STATUS = 37, // Get composer init status-true if primary display init is done
SET_QSYNC_MODE = 38, // Set qsync mode. 0 - (none)disable qsync, 1 - continuous mode.
SET_COLOR_MODE_WITH_RENDER_INTENT = 39,
+ SET_IDLE_PC = 40, // Enable/disable Idle power collapse
COMMAND_LIST_END = 400,
};