linux/drivers/gpu/drm/i915/gt/uc
Linmao Li ca1dc06173 drm/i915/guc: Return NULL for missing multi-lrc parent
multi_lrc_create_parent() returns ERR_PTR(0) when there are not enough
engines in the class to create a parallel context.  ERR_PTR(0) evaluates
to NULL, and the only caller already treats NULL as the non-error
"not enough engines" case.

Return NULL directly to make the non-error path explicit.

Signed-off-by: Linmao Li <lilinmao@kylinos.cn>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20260706071412.559909-1-lilinmao@kylinos.cn
2026-07-08 09:32:55 +01:00
..
abi
guc_capture_fwif.h
intel_gsc_binary_headers.h
intel_gsc_fw.c
intel_gsc_fw.h
intel_gsc_proxy.c drm/i915: split out i915_wait_util.h 2025-09-12 11:08:45 +03:00
intel_gsc_proxy.h
intel_gsc_uc_debugfs.c drm/i915/gt: use designated initializers for intel_gt_debugfs_file 2026-01-01 13:14:50 +01:00
intel_gsc_uc_debugfs.h
intel_gsc_uc_heci_cmd_submit.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
intel_gsc_uc_heci_cmd_submit.h
intel_gsc_uc.c
intel_gsc_uc.h
intel_guc_ads.c
intel_guc_ads.h
intel_guc_capture.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
intel_guc_capture.h
intel_guc_ct.c drm/i915: replace use of system_unbound_wq with system_dfl_wq 2026-03-05 13:58:22 -05:00
intel_guc_ct.h drm/i915/guc: Enable CT_DEAD output in regular debug builds 2025-07-03 14:05:10 -07:00
intel_guc_debugfs.c drm/i915/gt: use designated initializers for intel_gt_debugfs_file 2026-01-01 13:14:50 +01:00
intel_guc_debugfs.h
intel_guc_fw.c Cross-subsystem Changes: 2025-09-19 13:02:46 +10:00
intel_guc_fw.h
intel_guc_fwif.h
intel_guc_hwconfig.c
intel_guc_log_debugfs.c drm/i915/gt: use designated initializers for intel_gt_debugfs_file 2026-01-01 13:14:50 +01:00
intel_guc_log_debugfs.h
intel_guc_log.c Merge drm/drm-next into drm-intel-next 2025-09-10 08:01:42 -04:00
intel_guc_log.h drm/i915: Replace struct_mutex in intel_guc_log 2025-09-09 10:36:10 -04:00
intel_guc_print.h
intel_guc_rc.c
intel_guc_rc.h
intel_guc_reg.h drm/i915/guc: Include the GuC registers in the error state 2025-09-11 11:28:02 -07:00
intel_guc_slpc_types.h
intel_guc_slpc.c drm/i915/mchbar: drop unnecessary intel_mchbar_regs.h include 2026-04-08 12:29:59 +03:00
intel_guc_slpc.h
intel_guc_submission.c drm/i915: replace use of system_unbound_wq with system_dfl_wq 2026-03-05 13:58:22 -05:00
intel_guc_submission.h
intel_guc.c drm/i915: replace use of system_unbound_wq with system_dfl_wq 2026-03-05 13:58:22 -05:00
intel_guc.h
intel_huc_debugfs.c drm/i915/gt: use designated initializers for intel_gt_debugfs_file 2026-01-01 13:14:50 +01:00
intel_huc_debugfs.h
intel_huc_fw.c
intel_huc_fw.h
intel_huc_print.h
intel_huc.c drm/i915: switch to use kernel standard error injection 2025-12-18 11:59:20 +02:00
intel_huc.h drm/i915/huc: Fix fence not released on early probe errors 2025-04-09 10:50:51 +03:00
intel_uc_debugfs.c drm/i915/gt: use designated initializers for intel_gt_debugfs_file 2026-01-01 13:14:50 +01:00
intel_uc_debugfs.h
intel_uc_fw_abi.h
intel_uc_fw.c drm/{i915, xe}/reg: rename masked field helpers REG_MASKED_FIELD*() 2026-03-04 13:04:24 +02:00
intel_uc_fw.h
intel_uc.c drm/i915: switch to use kernel standard error injection 2025-12-18 11:59:20 +02:00
intel_uc.h
selftest_guc_hangcheck.c
selftest_guc_multi_lrc.c drm/i915/guc: Return NULL for missing multi-lrc parent 2026-07-08 09:32:55 +01:00
selftest_guc.c Merge tag 'drm-intel-gt-next-2026-03-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2026-03-16 09:10:16 +10:00