summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-03-04 20:45:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-03-04 20:45:10 +0000
commitc67af46944a34bcdd8f5f4f39a4fb95c84b2d4f6 (patch)
treed46b4b7e13257acef8978bf6486e39fd25a5da61
parent7cf8af862fbc108985d1aa71b8ca1721b7313ab5 (diff)
parent466d8488a35f0e59640e7cb6fa068c0e749ad867 (diff)
downloadandroid_hardware_qcom_sdm845_display-c67af46944a34bcdd8f5f4f39a4fb95c84b2d4f6.tar.gz
android_hardware_qcom_sdm845_display-c67af46944a34bcdd8f5f4f39a4fb95c84b2d4f6.tar.bz2
android_hardware_qcom_sdm845_display-c67af46944a34bcdd8f5f4f39a4fb95c84b2d4f6.zip
Merge "hwc: Fix issue with configuring dataspace for solid color layer"
-rw-r--r--sdm/libs/hwc2/hwc_layers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdm/libs/hwc2/hwc_layers.cpp b/sdm/libs/hwc2/hwc_layers.cpp
index 73c266ee..c5628f58 100644
--- a/sdm/libs/hwc2/hwc_layers.cpp
+++ b/sdm/libs/hwc2/hwc_layers.cpp
@@ -901,7 +901,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;
}