commit | 426d6e0dfda83814b1ce35194883a58ce69de8ba | [log] [tgz] |
---|---|---|
author | Prabhanjan Kandula <pkandula@codeaurora.org> | Thu Jun 29 10:38:40 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Jun 30 11:20:40 2017 -0700 |
tree | 2887d51e8a4d03a0f2b38b72df7d6fc7ae9da051 | |
parent | 017ca66d6720fc5609bcd11b0f4d569e9f5eca0e [diff] |
sdm: PowerOff crtc before cleaning up display. On display disconnect, trigger a commit with crtc disable before destroying display object. Change-Id: I58bd8cb73686f937f284e8f1fc849a66254b293c CRs-fixed: 2062189
diff --git a/sdm/libs/core/drm/hw_device_drm.cpp b/sdm/libs/core/drm/hw_device_drm.cpp index b244a2a..9e99361 100644 --- a/sdm/libs/core/drm/hw_device_drm.cpp +++ b/sdm/libs/core/drm/hw_device_drm.cpp
@@ -356,6 +356,7 @@ } DisplayError HWDeviceDRM::Deinit() { + PowerOff(); delete hw_scale_; registry_.Clear(); drm_mgr_intf_->DestroyAtomicReq(drm_atomic_intf_);