]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/selftests: add local workqueue for SW fence selftest
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 8 Jun 2023 13:35:46 +0000 (16:35 +0300)
committerJani Nikula <jani.nikula@intel.com>
Sat, 10 Jun 2023 03:33:16 +0000 (06:33 +0300)
commit0976b3dc021b2c5392d6abf443460e4208f85fe6
tree416b4b6995a8c9aad61333b1766e03ec8accb870
parent848a4e5c096ddf8ed1323123ae15b8d4318700ab
drm/i915/selftests: add local workqueue for SW fence selftest

Instead of using a global workqueue for the SW fence selftest,
allocate a separate one temporarily only while running the test.

Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/313f4a713053c2b4896ced5b0e9ff456eb85fe57.1686231190.git.jani.nikula@intel.com
drivers/gpu/drm/i915/selftests/i915_sw_fence.c