h/q/d: Add utility function for 8x16 and read RGB scalar capability
- Add utility function for 8x16
- Add internal function to identify if RGB doesn't
support scaling that is read from capabilities node.
- If UI layer needs scaling and RGB pipe doesn't
support scalar, request a VG pipe
- On 8x16, request DMA pipe for WFD
Change-Id: I94e8e0371bb10fcad53fddd2b7c45bc9b2594a4d
diff --git a/libqdutils/mdp_version.h b/libqdutils/mdp_version.h
index 5e36291..04c84cd 100644
--- a/libqdutils/mdp_version.h
+++ b/libqdutils/mdp_version.h
@@ -116,10 +116,12 @@
unsigned long getLowBw() { return mLowBw; }
unsigned long getHighBw() { return mHighBw; }
bool isSrcSplit() const;
+ bool isRGBScalarSupported() const;
bool is8x26();
bool is8x74v2();
bool is8084();
bool is8092();
+ bool is8x16();
private:
bool updateSysFsInfo();
@@ -143,6 +145,7 @@
unsigned long mLowBw; //kbps
unsigned long mHighBw; //kbps
bool mSourceSplit;
+ bool mRGBHasNoScalar;
};
}; //namespace qdutils
#endif //INCLUDE_LIBQCOMUTILS_MDPVER