浏览代码

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 <[email protected]>
Karthik Anantha Ram 4 年之前
父节点
当前提交
3cb524ec42

+ 2 - 1
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -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);
 	}
 

+ 0 - 3
drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus_rd.c

@@ -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:

+ 0 - 3
drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus_wr.c

@@ -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;