aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLingkai Dong <lingkai.dong@arm.com>2023-12-04 15:43:36 +0000
committerLingkai Dong <lingkai.dong@arm.com>2024-01-30 09:49:45 +0000
commit1d7ddabafe4d675dff4bd1aff1330c068fa6a983 (patch)
tree618d92a173a9b87542d302c8cd9345039a3a4d8c
parent63ed8076ad70cb212fec97dd70043291ad4ff19d (diff)
downloaddrm_hwcomposer-1d7ddabafe4d675dff4bd1aff1330c068fa6a983.tar.gz
drm_hwcomposer: Add pl111 to the client backend device list
PL111[1] is the color LCD controller available on the Armv-A Base Platform RevC FVP and the Versatile Express LogicTile FPGA board. The 8MB video memory of PL111 is barely enough for the two fullscreen buffers always requested by SurfaceFlinger for client composition, and there is no video memory left for any device composition buffers. Therefore we add PL111 to the list of devices that uses the client-only composition backend. [1]: https://developer.arm.com/Processors/PL111 Change-Id: Ib64ccf5e030b623d5c920eb998c6b22ead89b4c9 Signed-off-by: Lingkai Dong <lingkai.dong@arm.com>
-rw-r--r--backend/BackendManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/BackendManager.cpp b/backend/BackendManager.cpp
index c1bc0f6..4e2532a 100644
--- a/backend/BackendManager.cpp
+++ b/backend/BackendManager.cpp
@@ -27,6 +27,7 @@ namespace android {
const std::vector<std::string> BackendManager::kClientDevices = {
"kirin",
"mediatek-drm",
+ "pl111",
};
BackendManager &BackendManager::GetInstance() {