summaryrefslogtreecommitdiff
path: root/sdm/libs/core
diff options
context:
space:
mode:
authorSushil Chauhan <sushilchauhan@codeaurora.org>2018-04-24 14:36:38 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-04-25 16:18:54 -0700
commit8c0a05aeaa3b8d4875819f698ccb75fccbc752d7 (patch)
tree339c6a5c517408b352e2c8a9e2191c33b1c73516 /sdm/libs/core
parent948191bf3802c2f5963d18cd0d9baf1e5a1b0d78 (diff)
downloaddisplay-8c0a05aeaa3b8d4875819f698ccb75fccbc752d7.tar.gz
sdm: drmutils: Define Concurrent Writeback cap in CrtcInfo
Define Concurrent Writeback cap in CRTC Info instead of Connector. CRs-Fixed: 2230611 Change-Id: I034e4ca8bf50eb3587302c377a0d54460256d148
Diffstat (limited to 'sdm/libs/core')
-rw-r--r--sdm/libs/core/drm/hw_info_drm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdm/libs/core/drm/hw_info_drm.cpp b/sdm/libs/core/drm/hw_info_drm.cpp
index 13027b3f..234b1a9d 100644
--- a/sdm/libs/core/drm/hw_info_drm.cpp
+++ b/sdm/libs/core/drm/hw_info_drm.cpp
@@ -303,6 +303,7 @@ void HWInfoDRM::GetSystemInfo(HWResourceInfo *hw_resource) {
hw_resource->hw_dest_scalar_info.max_input_width = info.max_dest_scaler_input_width;
hw_resource->hw_dest_scalar_info.max_output_width = info.max_dest_scaler_output_width;
hw_resource->min_prefill_lines = info.min_prefill_lines;
+ hw_resource->has_concurrent_writeback = info.concurrent_writeback;
}
void HWInfoDRM::GetHWPlanesInfo(HWResourceInfo *hw_resource) {
@@ -430,7 +431,6 @@ void HWInfoDRM::GetWBInfo(HWResourceInfo *hw_resource) {
hw_resource->supported_formats_map.erase(sub_blk_type);
hw_resource->supported_formats_map.insert(make_pair(sub_blk_type, supported_sdm_formats));
- hw_resource->has_concurrent_writeback = connector_info.concurrent_writeback;
drm_mgr_intf_->UnregisterDisplay(token);
}