summaryrefslogtreecommitdiff
path: root/samsung/exynos_drm_decon.h
diff options
context:
space:
mode:
authorMidas Chien <midaschieh@google.com>2022-03-30 16:07:47 +0800
committerMidas Chien <midaschieh@google.com>2022-04-05 04:06:31 +0000
commit3e99d15ace29eb50db4ebfe5a9cfb5d467359124 (patch)
tree9393baf8454995efe0c785c7b8d7eedbb2294091 /samsung/exynos_drm_decon.h
parentfbb4e2e5506b8bb8f038a16d1663ce5bc4853a51 (diff)
downloaddisplay-3e99d15ace29eb50db4ebfe5a9cfb5d467359124.tar.gz
drm: samsung: support configure decon debug dump at runtime
The decon debug condition dump can be changed at runtime. By default all conditions are set except idma error condition. Bug: 226978142 Test: check dump match expectation Signed-off-by: Midas Chien <midaschieh@google.com> Change-Id: If4957cd79a69c60080b601c7ca5401939b067482
Diffstat (limited to 'samsung/exynos_drm_decon.h')
-rw-r--r--samsung/exynos_drm_decon.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/samsung/exynos_drm_decon.h b/samsung/exynos_drm_decon.h
index a21e456..85c77df 100644
--- a/samsung/exynos_drm_decon.h
+++ b/samsung/exynos_drm_decon.h
@@ -268,11 +268,11 @@ enum dpu_event_type {
};
enum dpu_event_condition {
- DPU_EVT_CONDITION_ALL = 0,
- DPU_EVT_CONDITION_UNDERRUN,
- DPU_EVT_CONDITION_FAIL_UPDATE_BW,
- DPU_EVT_CONDITION_FIFO_TIMEOUT,
- DPU_EVT_CONDITION_IDMA_ERROR,
+ DPU_EVT_CONDITION_DEFAULT = 1U << 0,
+ DPU_EVT_CONDITION_UNDERRUN = 1U << 1,
+ DPU_EVT_CONDITION_FAIL_UPDATE_BW = 1U << 2,
+ DPU_EVT_CONDITION_FIFO_TIMEOUT = 1U << 3,
+ DPU_EVT_CONDITION_IDMA_ERROR = 1U << 4,
};
#define DPU_CALLSTACK_MAX 10