summaryrefslogtreecommitdiff
path: root/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
diff options
context:
space:
mode:
authorHyunKyung Kim <hk310.kim@samsung.com>2020-06-20 14:45:38 +0900
committerHyunKyung Kim <hk310.kim@samsung.com>2020-06-29 18:24:29 +0900
commit135f1f358c430a9327b0c55641a5ecf0597f66fb (patch)
treed7cdc51b2d8339a560f14a8668c5ff28c10fc1fc /libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
parent57f44a235526441f6478ab733c1706423d64b2f2 (diff)
libhwc2.1: Set SW feature attribute
SW feature attribute is not passed from the kernel driver. HWC should set it for each MPP type. Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Change-Id: I920bba9ba5f4246ccd9fbf887761a19ec30848b6
Diffstat (limited to 'libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp')
-rw-r--r--libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp b/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
index 63a2041..6d5c2b7 100644
--- a/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
+++ b/libhwc2.1/libdisplayinterface/ExynosDeviceInterface.cpp
@@ -176,6 +176,9 @@ int32_t ExynosDeviceInterface::updateFeatureTable() {
attr |= dpu_attr_map_table[k].hwc_attr;
}
}
+ auto it = sw_feature_table.find(hwType);
+ if (it != sw_feature_table.end())
+ attr |= it->second;
feature_table[j].attr = attr;
}
}