linux/drivers/gpu/drm/xe
Matthew Brost ce29214ada 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: dd08ebf6c3 ("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 1f1314e8e7)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2025-10-23 20:09:30 -07:00
..
abi
compat-i915-headers UAPI Changes: 2025-09-22 08:21:42 +10:00
display UAPI Changes: 2025-09-22 08:21:42 +10:00
instructions
regs drm/xe: Enable media sampler power gating 2025-10-13 13:03:20 -07:00
tests drm/xe/kunit: Fix kerneldoc for parameterized tests 2025-10-15 22:48:43 -07:00
.gitignore
.kunitconfig
Kconfig
Kconfig.debug
Kconfig.profile
Makefile UAPI Changes: 2025-09-22 08:21:42 +10:00
xe_args.h
xe_assert.h
xe_bb.c
xe_bb.h
xe_bb_types.h
xe_bo.c drm/xe/bo: Fix an idle assertion for local bos 2025-10-02 21:57:52 -07:00
xe_bo.h
xe_bo_doc.h
xe_bo_evict.c drm/xe/evict: drop bogus assert 2025-10-15 22:48:54 -07:00
xe_bo_evict.h
xe_bo_types.h
xe_configfs.c drm/xe/configfs: Improve doc for ctx_restore* attributes 2025-10-02 21:57:51 -07:00
xe_configfs.h
xe_debugfs.c
xe_debugfs.h
xe_dep_job_types.h
xe_dep_scheduler.c
xe_dep_scheduler.h
xe_devcoredump.c
xe_devcoredump.h
xe_devcoredump_types.h
xe_device.c drm/xe: Increase global invalidation timeout to 1000us 2025-10-13 13:02:50 -07:00
xe_device.h
xe_device_sysfs.c drm/xe/vf: Don't expose sysfs attributes not applicable for VFs 2025-09-22 12:13:08 -04:00
xe_device_sysfs.h
xe_device_types.h UAPI Changes: 2025-09-22 08:21:42 +10:00
xe_device_wa_oob.rules
xe_dma_buf.c UAPI Changes: 2025-09-22 08:21:42 +10:00
xe_dma_buf.h
xe_drm_client.c
xe_drm_client.h
xe_drv.h
xe_eu_stall.c
xe_eu_stall.h
xe_exec.c
xe_exec.h
xe_exec_queue.c
xe_exec_queue.h
xe_exec_queue_types.h
xe_execlist.c
xe_execlist.h
xe_execlist_types.h
xe_force_wake.c
xe_force_wake.h
xe_force_wake_types.h
xe_gen_wa_oob.c
xe_ggtt.c drm/xe: Check return value of GGTT workqueue allocation 2025-10-23 20:09:30 -07:00
xe_ggtt.h
xe_ggtt_types.h
xe_gpu_scheduler.c
xe_gpu_scheduler.h
xe_gpu_scheduler_types.h
xe_gsc.c
xe_gsc.h
xe_gsc_debugfs.c
xe_gsc_debugfs.h
xe_gsc_proxy.c
xe_gsc_proxy.h
xe_gsc_submit.c
xe_gsc_submit.h
xe_gsc_types.h
xe_gt.c
xe_gt.h
xe_gt_ccs_mode.c
xe_gt_ccs_mode.h
xe_gt_clock.c
xe_gt_clock.h
xe_gt_debugfs.c
xe_gt_debugfs.h
xe_gt_freq.c
xe_gt_freq.h
xe_gt_idle.c drm/xe: Enable media sampler power gating 2025-10-13 13:03:20 -07:00
xe_gt_idle.h
xe_gt_idle_types.h
xe_gt_mcr.c
xe_gt_mcr.h
xe_gt_pagefault.c
xe_gt_pagefault.h
xe_gt_printk.h
xe_gt_sriov_pf.c
xe_gt_sriov_pf.h
xe_gt_sriov_pf_config.c
xe_gt_sriov_pf_config.h
xe_gt_sriov_pf_config_types.h
xe_gt_sriov_pf_control.c
xe_gt_sriov_pf_control.h
xe_gt_sriov_pf_control_types.h
xe_gt_sriov_pf_debugfs.c
xe_gt_sriov_pf_debugfs.h
xe_gt_sriov_pf_helpers.h
xe_gt_sriov_pf_migration.c
xe_gt_sriov_pf_migration.h
xe_gt_sriov_pf_migration_types.h
xe_gt_sriov_pf_monitor.c
xe_gt_sriov_pf_monitor.h
xe_gt_sriov_pf_monitor_types.h
xe_gt_sriov_pf_policy.c
xe_gt_sriov_pf_policy.h
xe_gt_sriov_pf_policy_types.h
xe_gt_sriov_pf_service.c
xe_gt_sriov_pf_service.h
xe_gt_sriov_pf_service_types.h
xe_gt_sriov_pf_types.h
xe_gt_sriov_printk.h
xe_gt_sriov_vf.c
xe_gt_sriov_vf.h
xe_gt_sriov_vf_debugfs.c
xe_gt_sriov_vf_debugfs.h
xe_gt_sriov_vf_types.h
xe_gt_stats.c
xe_gt_stats.h
xe_gt_stats_types.h
xe_gt_sysfs.c
xe_gt_sysfs.h
xe_gt_sysfs_types.h
xe_gt_throttle.c
xe_gt_throttle.h
xe_gt_topology.c
xe_gt_topology.h
xe_gt_types.h
xe_guc.c
xe_guc.h
xe_guc_ads.c
xe_guc_ads.h
xe_guc_ads_types.h
xe_guc_buf.c
xe_guc_buf.h
xe_guc_buf_types.h
xe_guc_capture.c
xe_guc_capture.h
xe_guc_capture_types.h
xe_guc_ct.c
xe_guc_ct.h
xe_guc_ct_types.h
xe_guc_db_mgr.c
xe_guc_db_mgr.h
xe_guc_debugfs.c
xe_guc_debugfs.h
xe_guc_engine_activity.c
xe_guc_engine_activity.h
xe_guc_engine_activity_types.h
xe_guc_exec_queue_types.h
xe_guc_fwif.h
xe_guc_hwconfig.c
xe_guc_hwconfig.h
xe_guc_hxg_helpers.h
xe_guc_id_mgr.c
xe_guc_id_mgr.h
xe_guc_klv_helpers.c
xe_guc_klv_helpers.h
xe_guc_klv_thresholds_set.h
xe_guc_klv_thresholds_set_types.h
xe_guc_log.c
xe_guc_log.h
xe_guc_log_types.h
xe_guc_pc.c
xe_guc_pc.h
xe_guc_pc_types.h
xe_guc_relay.c
xe_guc_relay.h
xe_guc_relay_types.h
xe_guc_submit.c drm/xe/guc: Check GuC running state before deregistering exec queue 2025-10-13 13:03:26 -07:00
xe_guc_submit.h
xe_guc_submit_types.h
xe_guc_tlb_inval.c
xe_guc_tlb_inval.h
xe_guc_types.h
xe_heci_gsc.c
xe_heci_gsc.h
xe_huc.c
xe_huc.h
xe_huc_debugfs.c
xe_huc_debugfs.h
xe_huc_types.h
xe_hw_engine.c
xe_hw_engine.h
xe_hw_engine_class_sysfs.c
xe_hw_engine_class_sysfs.h
xe_hw_engine_group.c drm/xe/hw_engine_group: Fix double write lock release in error path 2025-10-03 14:17:00 -05:00
xe_hw_engine_group.h
xe_hw_engine_group_types.h
xe_hw_engine_types.h
xe_hw_error.c
xe_hw_error.h
xe_hw_fence.c
xe_hw_fence.h
xe_hw_fence_types.h
xe_hwmon.c
xe_hwmon.h
xe_i2c.c
xe_i2c.h
xe_irq.c
xe_irq.h
xe_late_bind_fw.c drm/xe/xe_late_bind_fw: Initialize uval variable in xe_late_bind_fw_num_fans() 2025-10-02 21:57:52 -07:00
xe_late_bind_fw.h
xe_late_bind_fw_types.h
xe_lmtt.c
xe_lmtt.h
xe_lmtt_2l.c
xe_lmtt_ml.c
xe_lmtt_types.h
xe_lrc.c
xe_lrc.h
xe_lrc_types.h
xe_macros.h
xe_map.h
xe_memirq.c
xe_memirq.h
xe_memirq_types.h
xe_migrate.c drm/xe/migrate: don't misalign current bytes 2025-10-15 22:48:48 -07:00
xe_migrate.h
xe_migrate_doc.h
xe_mmio.c
xe_mmio.h
xe_mmio_gem.c
xe_mmio_gem.h
xe_mocs.c
xe_mocs.h
xe_module.c
xe_module.h
xe_nvm.c
xe_nvm.h
xe_oa.c
xe_oa.h
xe_oa_types.h
xe_observation.c
xe_observation.h
xe_pat.c
xe_pat.h
xe_pci.c drm/xe: Move rebar to be done earlier 2025-10-13 13:03:03 -07:00
xe_pci.h
xe_pci_sriov.c
xe_pci_sriov.h
xe_pci_types.h
xe_pcode.c
xe_pcode.h
xe_pcode_api.h
xe_platform_types.h
xe_pm.c drm/xe/i2c: Don't rely on d3cold.allowed flag in system PM path 2025-10-03 14:17:08 -05:00
xe_pm.h
xe_pmu.c
xe_pmu.h
xe_pmu_types.h
xe_preempt_fence.c
xe_preempt_fence.h
xe_preempt_fence_types.h
xe_printk.h
xe_psmi.c
xe_psmi.h
xe_pt.c drm/xe: Retain vma flags when recreating and splitting vmas for madvise 2025-10-20 17:03:39 -07:00
xe_pt.h
xe_pt_types.h
xe_pt_walk.c
xe_pt_walk.h
xe_pxp.c
xe_pxp.h
xe_pxp_debugfs.c
xe_pxp_debugfs.h
xe_pxp_submit.c
xe_pxp_submit.h
xe_pxp_types.h
xe_query.c drm/xe/uapi: loosen used tracking restriction 2025-10-03 14:16:55 -05:00
xe_query.h
xe_range_fence.c
xe_range_fence.h
xe_reg_sr.c
xe_reg_sr.h
xe_reg_sr_types.h
xe_reg_whitelist.c
xe_reg_whitelist.h
xe_res_cursor.h
xe_ring_ops.c
xe_ring_ops.h
xe_ring_ops_types.h
xe_rtp.c
xe_rtp.h
xe_rtp_helpers.h
xe_rtp_types.h
xe_sa.c
xe_sa.h
xe_sa_types.h
xe_sched_job.c
xe_sched_job.h
xe_sched_job_types.h
xe_shrinker.c
xe_shrinker.h
xe_sriov.c
xe_sriov.h
xe_sriov_pf.c
xe_sriov_pf.h
xe_sriov_pf_helpers.h
xe_sriov_pf_service.c
xe_sriov_pf_service.h
xe_sriov_pf_service_types.h
xe_sriov_pf_types.h
xe_sriov_printk.h
xe_sriov_types.h
xe_sriov_vf.c
xe_sriov_vf.h
xe_sriov_vf_ccs.c
xe_sriov_vf_ccs.h
xe_sriov_vf_ccs_types.h
xe_sriov_vf_types.h
xe_step.c
xe_step.h
xe_step_types.h
xe_survivability_mode.c
xe_survivability_mode.h
xe_survivability_mode_types.h
xe_svm.c drm/xe/uapi: Hide the madvise autoreset behind a VM_BIND flag 2025-10-20 17:03:44 -07:00
xe_svm.h drm/gpusvm, drm/xe: Fix userptr to not allow device private pages 2025-10-02 21:57:52 -07:00
xe_sync.c
xe_sync.h
xe_sync_types.h
xe_tile.c
xe_tile.h
xe_tile_debugfs.c
xe_tile_debugfs.h
xe_tile_printk.h
xe_tile_sriov_vf.c
xe_tile_sriov_vf.h
xe_tile_sysfs.c
xe_tile_sysfs.h
xe_tile_sysfs_types.h
xe_tlb_inval.c
xe_tlb_inval.h
xe_tlb_inval_job.c
xe_tlb_inval_job.h
xe_tlb_inval_types.h
xe_trace.c
xe_trace.h
xe_trace_bo.c
xe_trace_bo.h
xe_trace_guc.c
xe_trace_guc.h
xe_trace_lrc.c
xe_trace_lrc.h
xe_ttm_stolen_mgr.c
xe_ttm_stolen_mgr.h
xe_ttm_sys_mgr.c
xe_ttm_sys_mgr.h
xe_ttm_vram_mgr.c
xe_ttm_vram_mgr.h
xe_ttm_vram_mgr_types.h
xe_tuning.c
xe_tuning.h
xe_uc.c
xe_uc.h
xe_uc_debugfs.c
xe_uc_debugfs.h
xe_uc_fw.c
xe_uc_fw.h
xe_uc_fw_abi.h
xe_uc_fw_types.h
xe_uc_types.h
xe_userptr.c drm/gpusvm, drm/xe: Fix userptr to not allow device private pages 2025-10-02 21:57:52 -07:00
xe_userptr.h
xe_validation.c
xe_validation.h
xe_vm.c drm/xe/uapi: Hide the madvise autoreset behind a VM_BIND flag 2025-10-20 17:03:44 -07:00
xe_vm.h
xe_vm_doc.h
xe_vm_madvise.c
xe_vm_madvise.h
xe_vm_types.h drm/xe/uapi: Hide the madvise autoreset behind a VM_BIND flag 2025-10-20 17:03:44 -07:00
xe_vram.c drm/xe: Move rebar to be done earlier 2025-10-13 13:03:03 -07:00
xe_vram.h drm/xe: Move rebar to be done earlier 2025-10-13 13:03:03 -07:00
xe_vram_freq.c
xe_vram_freq.h
xe_vram_types.h
xe_vsec.c
xe_vsec.h
xe_wa.c
xe_wa.h
xe_wa_oob.rules
xe_wait_user_fence.c
xe_wait_user_fence.h
xe_wopcm.c
xe_wopcm.h
xe_wopcm_types.h