diff options
| author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2018-10-15 17:14:38 +0300 |
|---|---|---|
| committer | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2018-10-16 13:11:22 +0300 |
| commit | 4376b9c965c0563b1f95e8b7fae560e8e4890c00 (patch) | |
| tree | 0768a1fe2b3b9ba1c6da2149af446c4b27c7c49c /tools/perf/scripts/python/bin | |
| parent | 04c388d429568f03e2719bfb56ebfdb115896bd0 (diff) | |
| download | kernel-4376b9c965c0563b1f95e8b7fae560e8e4890c00.tar.gz | |
drm/i915/gen8: 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>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20181015141440.21845-1-mika.kuoppala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
