diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-15 23:06:33 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-15 23:06:33 +0000 |
| commit | adb76b54ebe2f4917512e8f403209bb8b38bc5af (patch) | |
| tree | db3ad704eedbe422ac02f613593fdc4ff1d169fd /msm8996/sdm/libs/core/display_base.cpp | |
| parent | c2d54a9847f4384c70b843662ed599561d1210db (diff) | |
| parent | 5a70badd1de4e4e4e8aefaac7fae8fafadf28066 (diff) | |
Change-Id: I4ddb39ad7fc7479a253eb11936f7513438f307df
Diffstat (limited to 'msm8996/sdm/libs/core/display_base.cpp')
| -rw-r--r-- | msm8996/sdm/libs/core/display_base.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/msm8996/sdm/libs/core/display_base.cpp b/msm8996/sdm/libs/core/display_base.cpp index f355a548d..fd7b0b00f 100644 --- a/msm8996/sdm/libs/core/display_base.cpp +++ b/msm8996/sdm/libs/core/display_base.cpp @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014 - 2017, The Linux Foundation. All rights reserved. +* Copyright (c) 2014 - 2017, 2019, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: @@ -396,6 +396,13 @@ DisplayError DisplayBase::GetConfig(uint32_t index, DisplayConfigVariableInfo *v return kErrorNotSupported; } +DisplayError DisplayBase::GetConfig(DisplayConfigFixedInfo *fixed_info) { + lock_guard<recursive_mutex> obj(recursive_mutex_); + fixed_info->partial_update = hw_panel_info_.partial_update; + + return kErrorNone; +} + DisplayError DisplayBase::GetActiveConfig(uint32_t *index) { lock_guard<recursive_mutex> obj(recursive_mutex_); return hw_intf_->GetActiveConfig(index); |
