diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-15 00:56:55 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-17 13:38:04 +0300 |
commit | 290b20a6d34acc188aec01669c210d731cc0ec15 (patch) | |
tree | 0ab4448f88d34bd3ecac4451fcdf0ad2b595acf7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 55bd6bd75717ca67b790cc1a457cab92adcce148 (diff) | |
download | linux-290b20a6d34acc188aec01669c210d731cc0ec15.tar.xz |
drm/i915: Add might_sleep() check to wait_for()
We should long past the time of trying to use wait_for() from inside
atomic contexts, so add a might_sleep() check to prevent misuse.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171114215655.4849-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions