summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRahul Sharma <rahsha@codeaurora.org>2018-07-09 23:48:12 +0530
committerRahul Sharma <rahsha@codeaurora.org>2018-07-19 10:08:28 +0530
commitfaa4206fb7241a3ff1ceba48d6cd29e92d312f7f (patch)
tree6de3fae0ea37a4fa7c003cc67dcb94d35aaf5710 /include
parentac2c415caff00927ac56bca1c05f3b5be1efe5be (diff)
drm/sde: bridge chip error and smmu fault handling for recovery
This implementation adds the following support: 1. handle bridge chip error reported by driver to DBA. error reported to DBA will be send to recovery manager to recover the faulty bridge chip by performing a power cycle. 2. smmu fault error notification. 3. detection on errors in bridge chip driver. Change-Id: I86cc491e3cd25fdcf9b998a0d687baba0a06d836 Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/video/msm_dba.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/video/msm_dba.h b/include/video/msm_dba.h
index 3d20fd8d65eb..8ce2138044c3 100644
--- a/include/video/msm_dba.h
+++ b/include/video/msm_dba.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015,2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -53,6 +53,9 @@
* @MSM_DBA_CB_POST_RESET: This callback is called after device reset is
* complete and the driver has applied back all the
* properties.
+ * @MSM_DBA_CB_DDC_I2C_ERROR: Detected a failure in DDC block for i2c error.
+ * @MSM_DBA_CB_DDC_TIMEOUT: Detected a failure in DDC block for timed out
+ * waiting for downstream receiver.
*
* Clients for this driver can register for receiving callbacks for specific
* events. This enum defines the type of events supported by the driver. An
@@ -71,6 +74,8 @@ enum msm_dba_callback_event {
MSM_DBA_CB_CEC_READ_PENDING = BIT(9),
MSM_DBA_CB_PRE_RESET = BIT(10),
MSM_DBA_CB_POST_RESET = BIT(11),
+ MSM_DBA_CB_DDC_I2C_ERROR = BIT(12),
+ MSM_DBA_CB_DDC_TIMEOUT = BIT(13),
};
/**