diff options
| author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2026-05-26 22:54:48 +0300 |
|---|---|---|
| committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2026-05-27 13:51:24 +0300 |
| commit | f1d581bb50ed54b71a8121d3d46fe2627fddd147 (patch) | |
| tree | fa131f18d348f3c36dd69ccf67919ca291c603c9 | |
| parent | 8a09097b11ca4d436691f64c3cc0958006f36e33 (diff) | |
| download | linux-f1d581bb50ed54b71a8121d3d46fe2627fddd147.tar.xz | |
drm/xe: Move xe->info.force_execlist initialization
The xe_info_init_early() is a place where we initialize those of
the xe->info fields that do not require any additional hardware
probes. Move the initialization of the force_execlist flag there.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20260526195452.20545-4-michal.wajdeczko@intel.com
| -rw-r--r-- | drivers/gpu/drm/xe/xe_device.c | 1 | ||||
| -rw-r--r-- | drivers/gpu/drm/xe/xe_pci.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c index 3f063e5530bb..cdc7e0935c13 100644 --- a/drivers/gpu/drm/xe/xe_device.c +++ b/drivers/gpu/drm/xe/xe_device.c @@ -523,7 +523,6 @@ struct xe_device *xe_device_create(struct pci_dev *pdev) xe->info.devid = pdev->device; xe->info.revid = pdev->revision; - xe->info.force_execlist = xe_modparam.force_execlist; xe->atomic_svm_timeslice_ms = 5; xe->min_run_period_lr_ms = 5; diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c index b368bb190fc4..ed932254f16f 100644 --- a/drivers/gpu/drm/xe/xe_pci.c +++ b/drivers/gpu/drm/xe/xe_pci.c @@ -777,6 +777,7 @@ static int xe_info_init_early(struct xe_device *xe, xe->info.probe_display = IS_ENABLED(CONFIG_DRM_XE_DISPLAY) && xe_modparam.probe_display && desc->has_display; + xe->info.force_execlist = xe_modparam.force_execlist; xe_assert(xe, desc->max_gt_per_tile > 0); xe_assert(xe, desc->max_gt_per_tile <= XE_MAX_GT_PER_TILE); |
