msm: camera: core: Control expanded memory patching per caller
Force callers to say if they are using 36 bit address patching or not. CRs-fixed: 3121782 Change-Id: I4dee25e3f73104a1be043fe18a295cd4f8447821 Signed-off-by: Karthik Jayakumar <quic_kjayakum@quicinc.com>
Dieser Commit ist enthalten in:

committet von
Camera Software Integration

Ursprung
b0d73dc7ac
Commit
28239ed1e6
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
@@ -3214,7 +3215,7 @@ static int cam_ope_mgr_prepare_hw_update(void *hw_priv,
|
||||
}
|
||||
|
||||
rc = cam_packet_util_process_patches(packet, hw_mgr->iommu_cdm_hdl,
|
||||
hw_mgr->iommu_sec_cdm_hdl);
|
||||
hw_mgr->iommu_sec_cdm_hdl, false);
|
||||
if (rc) {
|
||||
mutex_unlock(&ctx_data->ctx_mutex);
|
||||
CAM_ERR(CAM_OPE, "Patching failed: %d req_id: %d ctx: %d",
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren