diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-20 12:34:57 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-20 14:50:45 +0000 |
| commit | 1f5f9edb44ca9fd7255cdc60a1880241d2d17e48 (patch) | |
| tree | 2b18c4199b3f0dd9ab86af4e1f16b7b02c0302f9 /tools/perf/scripts/python | |
| parent | drm/i915/execlists: Reduce completed event mask to COMPLETE | PREEMPTED (diff) | |
| download | linux-1f5f9edb44ca9fd7255cdc60a1880241d2d17e48.tar.gz linux-1f5f9edb44ca9fd7255cdc60a1880241d2d17e48.zip | |
drm/i915/execlists: Assert that we don't get mixed IDLE_ACTIVE | COMPLETE events
If IDLE_ACTIVE is set, then all other bits are invalid. For us, we can
assert that if we see a COMPLETE | PREEMPTED event, then it should be
impossible for it to also contain an IDLE_ACTIVE flag.
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171120123458.23242-3-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
