msm: camera: isp: Enable sys cache usage

Enable sys cache usage by default for sHDR use-cases. The change
also updates a log to indicate cache config for a given resource.

CRs-Fixed: 2841729
Change-Id: Ie6c8530982fd0c36913e20c5359367d8dcffa66b
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
Karthik Anantha Ram
2021-05-04 21:17:20 -07:00
bovenliggende c2889122d0
commit 3cb524ec42
3 gewijzigde bestanden met toevoegingen van 2 en 7 verwijderingen

Bestand weergeven

@@ -7205,7 +7205,8 @@ static int cam_isp_blob_sfe_exp_order_update(
}
}
CAM_DBG(CAM_ISP,
"cache config based on exp order: %u [max: %u] for out: 0x%x",
"cache %s on exp order: %u [max: %u] for out: 0x%x",
(wm_rm_cache_cfg.use_cache ? "enabled" : "not enabled"),
i, exp_order_max, order_cfg->res_type);
}

Bestand weergeven

@@ -1602,9 +1602,6 @@ int cam_sfe_bus_rd_init(
*sfe_bus = sfe_bus_local;
bus_priv->common_data.sfe_debug_cfg = 0;
/* Remove after sys cache verification */
bus_priv->common_data.cache_dbg_cfg.disable_all = true;
return rc;
deinit_sfe_bus_rd:

Bestand weergeven

@@ -2926,9 +2926,6 @@ int cam_sfe_bus_wr_init(
bus_priv->common_data.sfe_debug_cfg = 0;
*sfe_bus = sfe_bus_local;
/* Remove after sys cache verification */
bus_priv->common_data.cache_dbg_cfg.disable_all = true;
CAM_DBG(CAM_SFE, "Exit");
return rc;