diff options
author | Chris Wilson <[email protected]> | 2016-04-07 07:29:17 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-04-08 11:44:48 +0100 |
commit | 7c90b7de7372fcd634fa0cffea6e580fb32e6b85 (patch) | |
tree | 5b924c17a0ecd9af5e7f907e0961f6b392398783 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 01347126f4e2a346bf37fe264570563b0fab6618 (diff) |
drm/i915: Apply a mb between emitting the request and hangcheck
Seal the request and mark it as pending execution before we submit it to
hardware. We assume that the actual submission cannot fail (that
guarantee is provided by preallocating space in the request for the
submission). As we may inspect this state without holding any locks
during hangcheck we should apply a barrier to ensure that we do
not see a more recent value in the HWS than we are tracking.
Based on a patch by Mika Kuoppala.
Suggested-by: Mika Kuoppala <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions