summaryrefslogtreecommitdiff
path: root/msm8998
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2019-03-06 13:41:52 -0800
committerPeiyong Lin <lpy@google.com>2019-03-06 13:41:52 -0800
commit93ccedac4b4f7b39bfa0669980a7574bff1b6c57 (patch)
treecc8feef0af32a50be7c24b829c44818aeb82b1f5 /msm8998
parent975f5337aaca962f67af2c3cc9e39477c1b117ac (diff)
downloaddisplay-93ccedac4b4f7b39bfa0669980a7574bff1b6c57.tar.gz
hwc: Fix issue with configuring dataspace for solid color layer
Bug: 126713799 Test: Build, flash and boot. Verify with taimen using UIBench Change-Id: I199184c3f0b12c5209bd0273b54581d5599ad9a4
Diffstat (limited to 'msm8998')
-rw-r--r--msm8998/sdm/libs/hwc2/hwc_layers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/msm8998/sdm/libs/hwc2/hwc_layers.cpp b/msm8998/sdm/libs/hwc2/hwc_layers.cpp
index fc8164d5..f5a56600 100644
--- a/msm8998/sdm/libs/hwc2/hwc_layers.cpp
+++ b/msm8998/sdm/libs/hwc2/hwc_layers.cpp
@@ -731,7 +731,8 @@ bool HWCLayer::SupportLocalConversion(ColorPrimaries working_primaries) {
bool HWCLayer::ValidateAndSetCSC() {
if (client_requested_ != HWC2::Composition::Device &&
- client_requested_ != HWC2::Composition::Cursor) {
+ client_requested_ != HWC2::Composition::Cursor &&
+ client_requested_ != HWC2::Composition::SolidColor) {
// Check the layers which are configured to Device
return true;
}