disp: msm: sde: update cwb block offset for kalama target

Update the cwb block offset and stride values for kalama
target in sde hw catalog. As part of the change, allow the
ctl wb-flush bit for cwb to be set based on the wb idx used.

Change-Id: Ibf7ccda88cbb47bddacf53b5af9841d381a4766c
Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
这个提交包含在:
Veera Sundaram Sankaran
2021-12-21 15:12:39 -08:00
父节点 e7c09f0092
当前提交 0fa8704818
修改 3 个文件,包含 16 行新增3 行删除

查看文件

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
*/
@@ -2596,7 +2596,10 @@ static int sde_wb_parse_dt(struct device_node *np, struct sde_mdss_cfg *sde_cfg)
set_bit(SDE_WB_HAS_DCWB, &wb->features);
if (IS_SDE_CTL_REV_100(sde_cfg->ctl_rev))
set_bit(SDE_WB_DCWB_CTRL, &wb->features);
if (major_version >= SDE_HW_MAJOR(SDE_HW_VER_810)) {
if (major_version >= SDE_HW_MAJOR(SDE_HW_VER_900)) {
sde_cfg->cwb_blk_off = 0x67200;
sde_cfg->cwb_blk_stride = 0x400;
} else if (major_version >= SDE_HW_MAJOR(SDE_HW_VER_810)) {
sde_cfg->cwb_blk_off = 0x66A00;
sde_cfg->cwb_blk_stride = 0x400;
} else {