summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_layers.cpp
diff options
context:
space:
mode:
authorGousemoodhin Nadaf <gnadaf@codeaurora.org>2018-07-18 22:21:32 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-07 02:08:53 -0700
commitf55e0c26fd321d141489cf646042b79aaa073e94 (patch)
treeff5795525109b6f9c9e4a0a5a06b3c0457277063 /sdm/libs/hwc2/hwc_layers.cpp
parent5540dbc283f36d817ca50c1245ba9ede3590fdab (diff)
sdm: Handle extended range layer.
- Mark extended range layer as skip because it is not supported. - Remove unused NeedsHdrHandling() and NeedsGpuFallback(). Change-Id: I70132bae87d33f0136ec7ea321215b40e30b8c5d CRs-Fixed: 2287998
Diffstat (limited to 'sdm/libs/hwc2/hwc_layers.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_layers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdm/libs/hwc2/hwc_layers.cpp b/sdm/libs/hwc2/hwc_layers.cpp
index b4b3e348..13c3f8de 100644
--- a/sdm/libs/hwc2/hwc_layers.cpp
+++ b/sdm/libs/hwc2/hwc_layers.cpp
@@ -135,7 +135,7 @@ bool GetRange(const int32_t &dataspace, ColorRange *color_range) {
break;
case HAL_DATASPACE_RANGE_EXTENDED:
*color_range = Range_Extended;
- break;
+ return false;
default:
DLOGW_IF(kTagClient, "Unsupported Range Request = %d", range);
return false;