drm/i915: Split up hangcheck phases
In order to simplify hangcheck state keeping, split hangcheck per engine loop in three phases: state load, action, state save. Add few more hangcheck actions to separate between seqno, head and subunit movements. This helps to gather all the hangcheck actions under a single switch umbrella. Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:

committed by
Mika Kuoppala

parent
b2251c0820
commit
6e16d028e4
@@ -67,7 +67,9 @@ struct intel_hw_status_page {
|
||||
enum intel_engine_hangcheck_action {
|
||||
HANGCHECK_IDLE = 0,
|
||||
HANGCHECK_WAIT,
|
||||
HANGCHECK_ACTIVE,
|
||||
HANGCHECK_ACTIVE_SEQNO,
|
||||
HANGCHECK_ACTIVE_HEAD,
|
||||
HANGCHECK_ACTIVE_SUBUNITS,
|
||||
HANGCHECK_KICK,
|
||||
HANGCHECK_HUNG,
|
||||
};
|
||||
|
Reference in New Issue
Block a user