mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Introduce a structure to track the individual forcewake domains and use
that to eliminate duplicate logic.
v2: - Rebase on latest dinq (Mika)
- for_each_fw_domain macro (Mika)
- Handle reset atomically, keeping the timer running (Mika)
- for_each_fw_domain parameter ordering (Chris)
- defer timer on new register access (Mika)
v3: - Fix forcewake_reset/get race by waiting pending timers
v4: - cond_resched and verbose warning on timer deletion (Chris)
- need to run pending timers manually on reset
Signed-off-by: Chris Wilson <[email protected]> (v1)
Signed-off-by: Mika Kuoppala <[email protected]>
Acked-by: Deepak S <[email protected]> (v2)
Signed-off-by: Daniel Vetter <[email protected]>