composer: dispatch histogram events to ringbuffer
Connects the dispatch of a histogram event from the event loop
to the ringbuffer where the statistics are collected.
Events are not generated yet.
Change-Id: I72882872413b7ccc002d3638fb3e76e97d87b393
Signed-off-by: Kevin DuBois <kevindubois@google.com>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
diff --git a/composer/hwc_display_builtin.cpp b/composer/hwc_display_builtin.cpp
index 4e1cb84..ac801a7 100644
--- a/composer/hwc_display_builtin.cpp
+++ b/composer/hwc_display_builtin.cpp
@@ -1297,4 +1297,8 @@
layer_stack_.layers.push_back(sdm_stitch_target);
}
+DisplayError HWCDisplayBuiltIn::HistogramEvent(int fd, uint32_t blob_id) {
+ histogram.notify_histogram_event(fd, blob_id);
+ return kErrorNone;
+}
} // namespace sdm