summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_buddy.h
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2021-08-16 19:14:44 +0200
committerMatthew Auld <matthew.auld@intel.com>2021-08-20 09:39:41 +0100
commitc9b6e94963bc3a53110f1c9cd7e5e4ae571413cd (patch)
tree203001b0efe03aebd04b2cc5b1d9c2db911d94f6 /drivers/gpu/drm/i915/i915_buddy.h
parentfaf890985e30d5e88cc3a7c50c1bcad32f89ab7c (diff)
drm/i915: Ditch the i915_gem_ww_ctx loop member
It's only used by the for_i915_gem_ww() macro and we can use the (typically) on-stack _err variable in its place. v2: - Don't clear the _err variable when entering the loop (Matthew Auld, Maarten Lankhorst). - Use parentheses around the _err macro argument. - Fix up comment. Cc: Matthew Auld <matthew.william.auld@gmail.com> Suggested-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210816171444.105469-1-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_buddy.h')
0 files changed, 0 insertions, 0 deletions