diff options
author | Sushil Chauhan <sushilchauhan@codeaurora.org> | 2013-01-30 17:44:15 -0800 |
---|---|---|
committer | Sushil Chauhan <sushilchauhan@codeaurora.org> | 2013-04-29 13:51:44 -0700 |
commit | bab187a53e4afad63df5d10111a787945a81d63a (patch) | |
tree | 59affa05f09ea8d2b255d23a7ed7246bb17eda63 /libqdutils | |
parent | d092e660ad08367ac2c9fd101f54356b2ee99a7e (diff) | |
download | display-bab187a53e4afad63df5d10111a787945a81d63a.tar.gz |
liboverlay: Add support for MDSS Bandwidth Compression
- This adds support for Bandwidth Compression.
- If MDSS supports BWC, then we set BWC flags
to both Rotator(encode) and overlay(decode)
Change-Id: I6f7800716a2ce2ab855f4c0b1a53cd96f7d06d74
Diffstat (limited to 'libqdutils')
-rw-r--r-- | libqdutils/mdp_version.cpp | 4 | ||||
-rw-r--r-- | libqdutils/mdp_version.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libqdutils/mdp_version.cpp b/libqdutils/mdp_version.cpp index 8da293dc..e3e78cac 100644 --- a/libqdutils/mdp_version.cpp +++ b/libqdutils/mdp_version.cpp @@ -117,5 +117,9 @@ uint32_t MDPVersion::getMaxMDPDownscale() { return mMDPDownscale; } +bool MDPVersion::supportsBWC() { + // BWC - Bandwidth Compression + return (mFeatures & MDP_BWC_EN); +} }; //namespace qdutils diff --git a/libqdutils/mdp_version.h b/libqdutils/mdp_version.h index 2fca6406..05860010 100644 --- a/libqdutils/mdp_version.h +++ b/libqdutils/mdp_version.h @@ -82,6 +82,7 @@ public: uint8_t getDMAPipes() { return mDMAPipes; } bool supportsDecimation(); uint32_t getMaxMDPDownscale(); + bool supportsBWC(); private: int mMDPVersion; char mPanelType; |