]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Check return value of GGTT workqueue allocation
authorMatthew Brost <matthew.brost@intel.com>
Wed, 22 Oct 2025 00:55:36 +0000 (17:55 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 24 Oct 2025 03:09:30 +0000 (20:09 -0700)
commitce29214ada6d08dbde1eeb5a69c3b09ddf3da146
tree2f3a8fe64c7f213b74e52507a472cbe0fa319432
parentce831bffcef3d8f9691b5537d74ffa1b1256c017
drm/xe: Check return value of GGTT workqueue allocation

Workqueue allocation can fail, so check the return value of the GGTT
workqueue allocation and fail driver initialization if the allocation
fails.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20251022005538.828980-2-matthew.brost@intel.com
(cherry picked from commit 1f1314e8e71385bae319e43082b798c11f6648bc)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_ggtt.c