summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_display_external.cpp
diff options
context:
space:
mode:
authorAnjaneya Prasad Musunuri <aprasad@codeaurora.org>2017-05-18 19:11:28 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-25 06:42:12 -0700
commit4d65df7ae4320814dbc643b79c65ed6d59152e2f (patch)
tree7d1f29d87bd4133c7a6a06f689a4d0ba587e400a /sdm/libs/hwc2/hwc_display_external.cpp
parent61f6095acb7d0c4e22059605465ae8002bd63673 (diff)
downloaddisplay-4d65df7ae4320814dbc643b79c65ed6d59152e2f.tar.gz
sdm: Decouple refresh and idle fall back handling
Refresh can be called from SDM for multiple events. Refresh should not be coupled with idle fall back. CRs-Fixed: 2050936 Change-Id: I1d88f93ce81ef190dce396819896a249e5bad847
Diffstat (limited to 'sdm/libs/hwc2/hwc_display_external.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_display_external.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdm/libs/hwc2/hwc_display_external.cpp b/sdm/libs/hwc2/hwc_display_external.cpp
index 39d46712..a8f8480f 100644
--- a/sdm/libs/hwc2/hwc_display_external.cpp
+++ b/sdm/libs/hwc2/hwc_display_external.cpp
@@ -121,6 +121,8 @@ HWC2::Error HWCDisplayExternal::Validate(uint32_t *out_num_types, uint32_t *out_
return status;
}
+ // TODO(user): SetRefreshRate need to follow new interface when added.
+
status = PrepareLayerStack(out_num_types, out_num_requests);
return status;
}