diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-03 18:22:14 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-07 13:59:27 +0300 |
commit | 39f94a89a90b3fa70e191716527c719e712e5076 (patch) | |
tree | c236e1e6728ed0a2b182eb4407df3087d7d47bf8 /drivers/gpu/drm/i915/intel_wakeref.h | |
parent | c8a0e2aef61f1dade1ef5b3833e00e7ec6ad1c4c (diff) | |
download | linux-39f94a89a90b3fa70e191716527c719e712e5076.tar.xz |
drm/i915: Assert breadcrumbs are correctly ordered in the signal handler
Inside the signal handler, we expect the requests to be ordered by their
breadcrumb such that no later request may be complete if we find an
earlier incomplete. Add an assert to check that the next breadcrumb
should not be logically before the current.
v2: Move the overhanging line into its own function and reuse it after
doing the insertion.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190503152214.26517-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_wakeref.h')
0 files changed, 0 insertions, 0 deletions