diff options
| author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2018-10-15 17:14:40 +0300 |
|---|---|---|
| committer | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2018-10-16 13:11:23 +0300 |
| commit | 81067b71c1d944ea1f93ee67ef0be16d8b4957b4 (patch) | |
| tree | 71375f2e1bb2640c6b47b21da914b9c44e9477b8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 95b0e7c14c500ac7522924a54e6beddf69d383ec (diff) | |
| download | kernel-81067b71c1d944ea1f93ee67ef0be16d8b4957b4.tar.gz | |
drm/i915/icl: Disable master intr before reading
Disable master interrupt before reading level indications.
This will close a race where we get a level indication between
reading and disabling, generating an extra interrupt where we
could have avoided one.
Further, as the reading acts also as a post, replace the
write/post on the irq reset with the helper. On enabling side,
posting doesn't serve any purpose so it can also be replaced
with helper.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181015141440.21845-3-mika.kuoppala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
