]> 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)
commit334d107a2c1a1e09112e094acd560fdbb68b1b65
treead4cf4a1f2dc93d7cfbd6d173ad36d3424125c58
parent54054607051451d0614baa162e6ad1d05ea92900
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: cffd25855556 ("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