]> 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)
commit4c3f6f76dc39814d8916961b2c8cfd3071113ed2
treecbeea4f97466c3a00d9f2f54f389d9ead0d84af1
parent51d4b9f0af91859d9233fc274bd91ecb9f3825cf
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