msm: camera: isp: Handling IRQ delays

Checking the BUS write client last consumed
address, if it matches with next request port
io buffer address, then irq delay detected.
We can signal port fence for both active request.

CRs-Fixed: 2684890
Change-Id: I8265c06a2284897d43e9a24511ad2c13c9690186
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This commit is contained in:
Depeng Shao
2020-06-23 22:17:18 +08:00
parent c5f4a2def3
commit 86f144a267
26 changed files with 579 additions and 120 deletions

View File

@@ -251,6 +251,7 @@ struct cam_isp_context_event_record {
* @split_acquire: Indicate whether a separate acquire is expected
* @custom_enabled: Custom HW enabled for this ctx
* @use_frame_header_ts: Use frame header for qtimer ts
* @support_consumed_addr: Indicate whether HW has last consumed addr reg
* @init_timestamp: Timestamp at which this context is initialized
* @isp_device_type: ISP device type
* @rxd_epoch: Indicate whether epoch has been received. Used to
@@ -294,6 +295,7 @@ struct cam_isp_context {
bool split_acquire;
bool custom_enabled;
bool use_frame_header_ts;
bool support_consumed_addr;
unsigned int init_timestamp;
uint32_t isp_device_type;
atomic_t rxd_epoch;