display: commit dpps features during flush
commit dpps features during flush to disable LTM histogram
when switching from android vm to trusted vm in video mode.
Change-Id: Iefbc03df94938d5555084d7451d86d50693378fd
CRs-Fixed: 3293464
diff --git a/sdm/libs/dal/hw_device_drm.cpp b/sdm/libs/dal/hw_device_drm.cpp
index 7c704e1..088150d 100644
--- a/sdm/libs/dal/hw_device_drm.cpp
+++ b/sdm/libs/dal/hw_device_drm.cpp
@@ -1967,6 +1967,9 @@
sync_commit = true;
#endif
+ // dpps commit feature ops doesn't use the obj id, set it as -1
+ drm_atomic_intf_->Perform(DRMOps::DPPS_COMMIT_FEATURE, -1);
+
int ret = NullCommit(sync_commit /* synchronous */, false /* retain_planes*/);
if (ret) {
DLOGE("failed with error %d", ret);