diff options
author | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | 2018-04-10 17:27:58 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-04-15 17:59:41 -0700 |
commit | 52c674af0e67dddf2799f1988fdbda6d07268421 (patch) | |
tree | 827ec7a88be9471afe9ac98b9646e8f29aeefbf2 /sdm | |
parent | b9f0ae7f8b1b08ed9b821b21e21764a22f246c17 (diff) | |
download | android_hardware_qcom_sdm710_display-52c674af0e67dddf2799f1988fdbda6d07268421.tar.gz android_hardware_qcom_sdm710_display-52c674af0e67dddf2799f1988fdbda6d07268421.tar.bz2 android_hardware_qcom_sdm710_display-52c674af0e67dddf2799f1988fdbda6d07268421.zip |
sdm: Parse CRTC property to enable secure UI enhancement.
Change-Id: I487c2780e8695bd0dda504becb92a55c4351240a
CRs-Fixed: 2224827
Diffstat (limited to 'sdm')
-rw-r--r-- | sdm/libs/core/drm/hw_device_drm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdm/libs/core/drm/hw_device_drm.cpp b/sdm/libs/core/drm/hw_device_drm.cpp index e90a782b..f9c95ce2 100644 --- a/sdm/libs/core/drm/hw_device_drm.cpp +++ b/sdm/libs/core/drm/hw_device_drm.cpp @@ -952,6 +952,7 @@ void HWDeviceDRM::SetupAtomic(HWLayers *hw_layers, bool validate) { } if (first_cycle_) { + drm_atomic_intf_->Perform(DRMOps::CRTC_SET_SECURE_UI_ENHANCEMENT, token_.crtc_id, 1); drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::ON); } |