From 6037651a1dfc44749b0ed5d2b1e51338387f6288 Mon Sep 17 00:00:00 2001 From: Shirisha Kollapuram Date: Wed, 25 May 2022 16:00:13 +0530 Subject: [PATCH] soc: hw-fence: Add support for debug validation clients Add debug validation clients in the Hardware Fence driver interface, which are used for communication between the fence controller and the validation framework. Change-Id: I2e3e634170c21934aad446c7571ac2a719c08729 Signed-off-by: Shirisha Kollapuram Signed-off-by: Alex Danila --- include/linux/soc/qcom/msm_hw_fence.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/linux/soc/qcom/msm_hw_fence.h b/include/linux/soc/qcom/msm_hw_fence.h index db5c6d532a40..84acc38778d1 100644 --- a/include/linux/soc/qcom/msm_hw_fence.h +++ b/include/linux/soc/qcom/msm_hw_fence.h @@ -128,6 +128,13 @@ struct msm_hw_fence_mem_addr { * @HW_FENCE_CLIENT_ID_CTL3: DPU Client 3. * @HW_FENCE_CLIENT_ID_CTL4: DPU Client 4. * @HW_FENCE_CLIENT_ID_CTL5: DPU Client 5. + * @HW_FENCE_CLIENT_ID_VAL0: debug Validation client 0. + * @HW_FENCE_CLIENT_ID_VAL1: debug Validation client 1. + * @HW_FENCE_CLIENT_ID_VAL2: debug Validation client 2. + * @HW_FENCE_CLIENT_ID_VAL3: debug Validation client 3. + * @HW_FENCE_CLIENT_ID_VAL4: debug Validation client 4. + * @HW_FENCE_CLIENT_ID_VAL5: debug Validation client 5. + * @HW_FENCE_CLIENT_ID_VAL6: debug Validation client 6. * @HW_FENCE_CLIENT_MAX: Max number of clients, any client must be added * before this enum. */ @@ -139,6 +146,13 @@ enum hw_fence_client_id { HW_FENCE_CLIENT_ID_CTL3, HW_FENCE_CLIENT_ID_CTL4, HW_FENCE_CLIENT_ID_CTL5, + HW_FENCE_CLIENT_ID_VAL0, + HW_FENCE_CLIENT_ID_VAL1, + HW_FENCE_CLIENT_ID_VAL2, + HW_FENCE_CLIENT_ID_VAL3, + HW_FENCE_CLIENT_ID_VAL4, + HW_FENCE_CLIENT_ID_VAL5, + HW_FENCE_CLIENT_ID_VAL6, HW_FENCE_CLIENT_MAX };