]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: use spinlock_t instead of struct spinlock
authorJani Nikula <jani.nikula@intel.com>
Mon, 17 Feb 2020 18:42:19 +0000 (20:42 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 19 Feb 2020 13:08:49 +0000 (15:08 +0200)
commit200452f1cb437895cb4bb0fcb0d5b74afdbf17ac
treead4cf4a1f2dc93d7cfbd6d173ad36d3424125c58
parent489645d522dfa9677116a12c025f2e3dc672ff68
drm/i915/gem: use spinlock_t instead of struct spinlock

spinlock_t is one case where the typedef is to be preferred over struct
spinlock.

Fixes: 42fb60de3129 ("drm/i915/gem: Don't leak non-persistent requests on changing engines")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200217184219.15325-1-jani.nikula@intel.com
drivers/gpu/drm/i915/gem/i915_gem_context_types.h