mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 11:11:26 +02:00
soc: hw-fence: Add MSM_HW_FENCE_FLAG_SIGNALED_BIT
This bit is set by hw-fence driver when it sees that the hw-fence is already signaled at the time when a client wants to add itself as a waiter for this hw-fence. This helps the client to avoid adding itself as a waiter for an already signaled hw-fence. Change-Id: I767745923066ee66c4bd8cd756ff05cd8cdbc833 Signed-off-by: Harshdeep Dhatt <quic_hdhatt@quicinc.com>
This commit is contained in:
parent
87e3484a2c
commit
9a0e3cee09
|
|
@ -18,6 +18,15 @@
|
|||
*/
|
||||
#define MSM_HW_FENCE_FLAG_ENABLED_BIT 31
|
||||
|
||||
/**
|
||||
* MSM_HW_FENCE_FLAG_SIGNALED_BIT - Hw-fence is signaled for the dma_fence.
|
||||
*
|
||||
* This flag is set by hw-fence driver when a client wants to add itself as
|
||||
* a waiter for this hw-fence. The client uses this flag to avoid adding itself
|
||||
* as a waiter for a fence that is already retired.
|
||||
*/
|
||||
#define MSM_HW_FENCE_FLAG_SIGNALED_BIT 30
|
||||
|
||||
/**
|
||||
* MSM_HW_FENCE_ERROR_RESET - Hw-fence flagged as error due to forced reset from producer.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user