Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe: don't auto fall back to execlist mode if guc failed to init

In general, this is due to FW load failure, should just report
error and fail the probe so that user can easily retry again.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Bruce Chang <yu.bruce.chang@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

authored by

Chang, Bruce and committed by
Rodrigo Vivi
33de290b 011d8fa3

+2 -5
+2 -2
drivers/gpu/drm/xe/xe_gt.c
··· 379 379 goto err_force_wake; 380 380 } 381 381 382 - /* Allow driver to load if uC init fails (likely missing firmware) */ 383 382 err = xe_uc_init(&gt->uc); 384 - XE_WARN_ON(err); 383 + if (err) 384 + goto err_force_wake; 385 385 386 386 err = xe_uc_init_hwconfig(&gt->uc); 387 387 if (err)
-3
drivers/gpu/drm/xe/xe_uc.c
··· 54 54 return 0; 55 55 56 56 err: 57 - /* If any uC firmwares not found, fall back to execlists */ 58 - xe_device_guc_submission_disable(uc_to_xe(uc)); 59 - 60 57 return ret; 61 58 } 62 59