]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Use correct lock for CT event handler
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 20 Nov 2020 09:56:36 +0000 (09:56 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 24 Nov 2020 09:11:09 +0000 (09:11 +0000)
commit8ef491588617c58461d6b17a972478a0f36087d1
tree4c9e471fdf44ce6c516a3c0c59bcb105bc476eec
parentd121968653c4257fce366c6c46153d96b764fbb0
drm/i915/guc: Use correct lock for CT event handler

CT event handler is called under the gt->irq_lock from the interrupt
handling paths so make it the same from the init path. I don't think this
mismatch caused any functional issue but we need to wean the code of the
global i915->irq_lock.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201120095636.1987395-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc.c