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)
commit3b86eb82dc2c9989ca6e53cb597a2a1390c64d12
treecbeea4f97466c3a00d9f2f54f389d9ead0d84af1
parent5c43ec5d538a5fa1736d298e63a3f8ac03009eea
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