diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-07 15:59:08 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-07 16:52:28 +0000 |
| commit | 64486ae7a9a9cc048c2842ba7628df7ce7374019 (patch) | |
| tree | 7a2e86b4130fb16f62195644db8edd0cf8cb0da3 /scripts/gdb/linux/proc.py | |
| parent | 7fba8306ccebb651bdba0c04692022a0b519cfea (diff) | |
drm/i915: Flush idle work when changing missed-irq fault injection
In order for the missed-irq update to take effect, the device must be
idle. So when the user updates the fault injection via debugfs, idle the
device.
v2: Idle is explicitly required for setting test_irq, and good behaviour
for clearing the missed_irq.
v3: Use matching types; expanding to more than ulong rings is left as an
exercise to the reader.
Testcase: igt/drv_missed_irq
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170307155908.14576-1-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
