diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-29 23:45:19 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-30 10:05:59 +0100 |
commit | 3df82dd43be4b6efde20f819d5829c8ed5e95476 (patch) | |
tree | 64d8d67052e7cdf62fca8e60ee7d1181ea4ef69c /scripts/gdb/linux/proc.py | |
parent | 5807e1c21dbd56c87f0e86ae6fe49ec745660c0d (diff) |
drm/i915: Only warn for might_sleep() before a slow wait_for_register
As intel_wait_for_register_fw() may use, and if successful only use, a
busy-wait loop, the might_sleep() warning is a little over-zealous.
Restrict it to a might_sleep_if() a slow timeout is specified (and so
the caller authorises use of a usleep).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180329224519.13598-2-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions