display: Add interface to get current frame rate from SmoMo

Add an interface to query the current frame rate from SmoMo, which is
based on its internal state.

CRs-Fixed: 2667026
Change-Id: Ia0b7305124c72e548dc7c935ab5b717945fbc7c2
diff --git a/include/smomo_interface.h b/include/smomo_interface.h
index ed13de5..c16111e 100644
--- a/include/smomo_interface.h
+++ b/include/smomo_interface.h
@@ -143,6 +143,18 @@
     @return \link void \endlink
   */
   virtual void SetDisplayRefreshRates(const std::vector<float> &refresh_rates) = 0;
+
+  /*! @brief Get the current frame rate from SmoMo.
+
+    @details This function is called by SmoMo client to query the current frame rate, which is
+    based on the internal state of SmoMo. Client needs to call the UpdateSmomoState API before
+    calling this function. SmoMo only returns a valid frame rate when it's settled to a state.
+
+    @return > 0 if valid, -1 if invalid.
+
+    @return \link int \endlink
+  */
+  virtual int GetFrameRate() = 0;
 };
 
 typedef bool (*CreateSmomoInterface)(uint16_t version, SmomoIntf **interface);