Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6244c39 authored by Rajesh Sastrula's avatar Rajesh Sastrula
Browse files

msm: camera: cpas: Add QoS settings for ICP



Add settings to increase ICP priority on CAMNOC.

Change-Id: Ia95bff279cd618977787fd494c9ac3ec65738ce3
Signed-off-by: default avatarRajesh Sastrula <vrajesh@codeaurora.org>
parent 037d768f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -372,6 +372,8 @@ static int cam_cpastop_poweron(struct cam_hw_info *cpas_hw)
				&camnoc_info->specific[i].safe_lut);
			cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
				&camnoc_info->specific[i].ubwc_ctl);
			cam_cpas_util_reg_update(cpas_hw, CAM_CPAS_REG_CAMNOC,
				&camnoc_info->specific[i].flag_out_set0_low);
		}
	}

+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ struct cam_camnoc_specific {
	struct cam_cpas_reg danger_lut;
	struct cam_cpas_reg safe_lut;
	struct cam_cpas_reg ubwc_ctl;
	struct cam_cpas_reg flag_out_set0_low;
};

/**
+9 −2
Original line number Diff line number Diff line
@@ -494,8 +494,15 @@ static struct cam_camnoc_specific
	},
	{
		.port_type = CAM_CAMNOC_ICP,
		.enable = false,
	}
		.enable = true,
		.flag_out_set0_low = {
			.enable = true,
			.access_type = CAM_REG_TYPE_WRITE,
			.masked_value = 0,
			.offset = 0x2088,
			.value = 0x100000,
		},
	},
};

static uint32_t cam_cpas110_slave_error_logger[] = {