diff options
author | Padmanabhan Komanduru <pkomandu@codeaurora.org> | 2020-05-15 15:09:03 +0530 |
---|---|---|
committer | Padmanabhan Komanduru <pkomandu@codeaurora.org> | 2020-05-19 20:58:43 +0530 |
commit | cedbffbb878817059ecc4b88c82e4f36d9109011 (patch) | |
tree | 12aa03f1796e57d558c8119b80320938893d106d /sdm/libs/hwc2/hwc_session.cpp | |
parent | b68e853b51eaf3e2023fc34a6f4623cfb6f81860 (diff) |
sdm: Add support for HWC2_ATTRIBUTE_CONFIG_GROUP
Add support for HWC2_ATTRIBUTE_CONFIG_GROUP display attribute.
Change-Id: I2000747023da237053aa29bd8645575ab4e924f3
Diffstat (limited to 'sdm/libs/hwc2/hwc_session.cpp')
-rw-r--r-- | sdm/libs/hwc2/hwc_session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdm/libs/hwc2/hwc_session.cpp b/sdm/libs/hwc2/hwc_session.cpp index 87ded3a0..80d02fe8 100644 --- a/sdm/libs/hwc2/hwc_session.cpp +++ b/sdm/libs/hwc2/hwc_session.cpp @@ -691,7 +691,7 @@ static int32_t GetDisplayAttribute(hwc2_device_t *device, hwc2_display_t display hwc2_config_t config, int32_t int_attribute, int32_t *out_value) { if (out_value == nullptr || int_attribute < HWC2_ATTRIBUTE_INVALID || - int_attribute > HWC2_ATTRIBUTE_DPI_Y) { + int_attribute > HWC2_ATTRIBUTE_CONFIG_GROUP) { return HWC2_ERROR_BAD_PARAMETER; } auto attribute = static_cast<HWC2::Attribute>(int_attribute); |