]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce a ww transaction helper
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 17 Jun 2021 06:30:09 +0000 (08:30 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 17 Jun 2021 13:23:01 +0000 (14:23 +0100)
commit859724bd786940dca0a2ea6b5741a1c4b8739e08
treecbeea4f97466c3a00d9f2f54f389d9ead0d84af1
parent80078385125688dfbcaecb0d67c54aa5fddeed16
drm/i915: Introduce a ww transaction helper

Introduce a for_i915_gem_ww(){} utility to help make the code
around a ww transaction more readable.

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/20210617063018.92802-4-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/i915_gem_ww.h