summaryrefslogtreecommitdiff
path: root/libhwc2.1/ExynosHWC.cpp
diff options
context:
space:
mode:
authorMidas Chien <midaschieh@google.com>2023-03-01 15:42:57 +0800
committerMidas Chien <midaschieh@google.com>2023-03-02 14:25:31 +0800
commit37f04313505f51a58c862586dd423d421c510dbf (patch)
tree09636016c16ba02ecf89f05155ce5a9cdc0cafac /libhwc2.1/ExynosHWC.cpp
parent95751650af91965ed09da35e4e3d040356399879 (diff)
libhwc2.1: support SKIP_VALIDATE by default
SKIP_VALIDATE is deprecated in HWC3 and it is not used by SF in U. It should be considered enabled by default. Start from HWC3, don't add SKIP_VALIDATE to the capability list and change code to support it by default. Bug: 270479799 Test: VtsHalGraphicsComposer3_TargetTest Test: VtsHalGraphicsComposerV2_4TargetTest Change-Id: I30979e56b8be96c6478e5ceaadfbc1145537e804
Diffstat (limited to 'libhwc2.1/ExynosHWC.cpp')
-rw-r--r--libhwc2.1/ExynosHWC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhwc2.1/ExynosHWC.cpp b/libhwc2.1/ExynosHWC.cpp
index fee44ed..c21245f 100644
--- a/libhwc2.1/ExynosHWC.cpp
+++ b/libhwc2.1/ExynosHWC.cpp
@@ -192,7 +192,7 @@ void exynos_getCapabilities(struct hwc2_device *dev, uint32_t *outCount, int32_t
if (!exynosDevice)
*outCapabilities = 0;
else
- return exynosDevice->getCapabilities(outCount, outCapabilities);
+ return exynosDevice->getCapabilitiesLegacy(outCount, outCapabilities);
}
void exynos_dump(hwc2_device_t *dev, uint32_t *outSize, char *outBuffer)