diff options
author | Peiyong Lin <lpy@google.com> | 2019-03-06 13:41:52 -0800 |
---|---|---|
committer | Peiyong Lin <lpy@google.com> | 2019-03-06 13:41:52 -0800 |
commit | 93ccedac4b4f7b39bfa0669980a7574bff1b6c57 (patch) | |
tree | cc8feef0af32a50be7c24b829c44818aeb82b1f5 /msm8998 | |
parent | 975f5337aaca962f67af2c3cc9e39477c1b117ac (diff) | |
download | display-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.cpp | 3 |
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; } |