summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBipin Kumar <bipikuma@codeaurora.org>2020-07-20 04:35:46 +0530
committerVinoth Jayaram <c_vinoja@codeaurora.org>2021-05-17 13:39:43 +0530
commitae684acc368b27a09b44ceb457981e7415194f88 (patch)
treea98f61e149717379ca31f33bbf1a76b4221dd546
parentb3ca2d754b89fb723222a2609e54d5841a49dbcc (diff)
sdm: Add hook to prioritize a layer for MDP composition
Change-Id: Icfeca2e0dac5d22e2273ea1197298907a5c7240f Crs-fixed: 2737678
-rw-r--r--sdm/include/core/layer_stack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sdm/include/core/layer_stack.h b/sdm/include/core/layer_stack.h
index 81ecfd6d..4f075adc 100644
--- a/sdm/include/core/layer_stack.h
+++ b/sdm/include/core/layer_stack.h
@@ -187,6 +187,10 @@ struct LayerFlags {
uint32_t single_buffer : 1; //!< This flag shall be set by client to indicate that the layer
//!< uses only a single buffer that will not be swapped out
+
+ uint32_t sde_preferred : 1; //! This flag shall be set by client to indicate that this layer
+ //! will be composed by display device, layer with this flag
+ //! will have highest priority. To be used by OEMs only.
};
uint32_t flags = 0; //!< For initialization purpose only.