summaryrefslogtreecommitdiffstats
path: root/sdm/libs/core/drm/hw_peripheral_drm.h
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@quicinc.com>2019-05-29 12:58:43 -0400
committerChris Lu <luchris@google.com>2019-05-30 09:55:32 +0000
commit1b9225d8d39b4c0087b9a38872937c0813afd768 (patch)
treec24204233ac689fe2e50de2df6ffe988bd1145ed /sdm/libs/core/drm/hw_peripheral_drm.h
parentde3af81f47db7fec43e6c8da7a84d6b2bc79dafe (diff)
downloadandroid_hardware_qcom_sdm845_display-1b9225d8d39b4c0087b9a38872937c0813afd768.tar.gz
android_hardware_qcom_sdm845_display-1b9225d8d39b4c0087b9a38872937c0813afd768.tar.bz2
android_hardware_qcom_sdm845_display-1b9225d8d39b4c0087b9a38872937c0813afd768.zip
hwc2: Teardown CWB before suspend
Teardown CWB before suspend. So that resume can go without any CWB. Bug: 130203599 Bug: 130512159 Test: run vts -m VtsHalGraphicsComposerV2_2Target Acked-by: Ramakant Singh <ramakant@codeaurora.org> Change-Id: I913279aafef9dc246ba9e22e74ffadc59f5c3737
Diffstat (limited to 'sdm/libs/core/drm/hw_peripheral_drm.h')
-rw-r--r--sdm/libs/core/drm/hw_peripheral_drm.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sdm/libs/core/drm/hw_peripheral_drm.h b/sdm/libs/core/drm/hw_peripheral_drm.h
index 9523bd95..4c1a90fa 100644
--- a/sdm/libs/core/drm/hw_peripheral_drm.h
+++ b/sdm/libs/core/drm/hw_peripheral_drm.h
@@ -35,11 +35,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace sdm {
-struct CWBConfig {
- bool enabled = false;
- sde_drm::DRMDisplayToken token = {};
-};
-
class HWPeripheralDRM : public HWDeviceDRM {
public:
explicit HWPeripheralDRM(BufferSyncHandler *buffer_sync_handler,
@@ -70,7 +65,6 @@ class HWPeripheralDRM : public HWDeviceDRM {
sde_drm_dest_scaler_data sde_dest_scalar_data_ = {};
std::vector<SDEScaler> scalar_data_ = {};
- CWBConfig cwb_config_ = {};
sde_drm::DRMIdlePCState idle_pc_state_ = sde_drm::DRMIdlePCState::NONE;
};