summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-05 14:29:41 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-12-05 20:49:17 +0000
commit0798cff46bb2fc9ac24d5d465216db235a8f11f6 (patch)
tree137a1b6c71cc55650b8ebe4300fbaa4b595fb325 /drivers/gpu/drm/i915/i915_gem.h
parentbdb821ca44d753594ff65df4b7cfe05c5d908719 (diff)
downloadlinux-stable-0798cff46bb2fc9ac24d5d465216db235a8f11f6.tar.gz
linux-stable-0798cff46bb2fc9ac24d5d465216db235a8f11f6.tar.bz2
linux-stable-0798cff46bb2fc9ac24d5d465216db235a8f11f6.zip
drm/i915/execlists: Use list_safe_reset_next() instead of opencoding
list.h provides a macro for updating the next element in a safe list-iter, so let's use it so that it is hopefully clearer to the reader about the unusual behaviour, and also easier to grep. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161205142941.21965-6-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.h')
0 files changed, 0 insertions, 0 deletions