From: Mark Brown <broonie@kernel.org>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
"DRM XE List" <intel-xe@lists.freedesktop.org>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>,
Dave Airlie <airlied@redhat.com>,
Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>,
Matthew Auld <matthew.auld@intel.com>,
Matthew Brost <matthew.brost@intel.com>,
Matt Roper <matthew.d.roper@intel.com>,
"Michael J. Ruhl" <michael.j.ruhl@intel.com>,
Raag Jadav <raag.jadav@intel.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: linux-next: manual merge of the drm-xe tree with the origin tree
Date: Thu, 26 Nov 2026 15:05:16 +0000 [thread overview]
Message-ID: <awhKrF41vLIOFkKf@sirena.org.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 4744 bytes --]
Hi all,
Today's linux-next merge of the drm-xe tree got a conflict in:
drivers/gpu/drm/xe/xe_device.c
between commits:
7539edbca32d6 ("drm/xe/pat: Return error from xe_pat_init_early() on unknown platform")
8801081e5991e ("drm/xe/gt: Use GT ordered workqueue for wedging")
402567ac0875b ("drm/xe: Drop xe_device_set_wedged_method()")
031cc955b33b0 ("drm/xe: Move xe_device_wedged_fini() registration to xe_device_probe_early()")
b828d2b7326b5 ("drm/xe: Make xe_device_declare_wedged() IRQ safe")
72296e02b46a3 ("drm/xe/hwmon: Unregister hwmon before the device is unplugged")
from the origin tree and commits:
2c0f72dd1483f ("drm/xe: run compute rebind worker on device NUMA node")
f8bb5c0459f4d ("drm/xe: Add a userptr repin timeout sysfs attribute")
3b4cc31db4407 ("drm/xe/vsec: Support late bind fw information")
344b7ec704ee0 ("drm/xe/vsec: Update VSEC probe order")
6bae3d8f56944 ("drm/xe/hwmon: Unregister hwmon before the device is unplugged")
17615c99ccc8e ("drm/xe/wopcm: Use the size from HW when excluding the wopcm range from GGTT")
61df0d1929e7e ("drm/xe: Add a per-client debugfs file reporting bo NUMA node distribution")
from the drm-xe tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --combined drivers/gpu/drm/xe/xe_device.c
index 8148c66eb7da9,36693df655941..0000000000000
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@@ -8,7 -8,9 +8,9 @@@
#include <linux/aperture.h>
#include <linux/delay.h>
#include <linux/error-injection.h>
+ #include <linux/nodemask.h>
#include <linux/units.h>
+ #include <linux/workqueue.h>
#include <drm/drm_client.h>
#include <drm/drm_gem_ttm_helper.h>
@@@ -127,6 -129,8 +129,8 @@@ static int xe_file_open(struct drm_devi
put_task_struct(task);
}
+ xe_debugfs_client_add(file);
+
return 0;
}
@@@ -387,6 -391,9 +391,9 @@@ static void xe_device_destroy(struct dr
if (xe->preempt_fence_wq)
destroy_workqueue(xe->preempt_fence_wq);
+ if (xe->rebind_wq)
+ destroy_workqueue(xe->rebind_wq);
+
if (xe->ordered_wq)
destroy_workqueue(xe->ordered_wq);
@@@ -437,6 -444,10 +444,10 @@@ struct xe_device *xe_device_create(stru
if (err)
return ERR_PTR(err);
+ xe->userptr_repin_timeout_ms = num_online_nodes() > 1 ?
+ XE_USERPTR_REPIN_TIMEOUT_MS_NUMA_DEFAULT :
+ XE_USERPTR_REPIN_TIMEOUT_MS_DEFAULT;
+
return xe;
}
ALLOW_ERROR_INJECTION(xe_device_create, ERRNO); /* See xe_pci_probe() */
@@@ -516,10 -527,11 +527,11 @@@ int xe_device_init_early(struct xe_devi
xe->preempt_fence_wq = alloc_ordered_workqueue("xe-preempt-fence-wq",
WQ_MEM_RECLAIM);
+ xe->rebind_wq = alloc_workqueue("xe-rebind-wq", WQ_UNBOUND, 0);
xe->ordered_wq = alloc_ordered_workqueue("xe-ordered-wq", 0);
xe->unordered_wq = alloc_workqueue("xe-unordered-wq", WQ_PERCPU, 0);
xe->destroy_wq = alloc_workqueue("xe-destroy-wq", WQ_PERCPU | WQ_MEM_RECLAIM, 0);
- if (!xe->ordered_wq || !xe->unordered_wq ||
+ if (!xe->ordered_wq || !xe->unordered_wq || !xe->rebind_wq ||
!xe->preempt_fence_wq || !xe->destroy_wq) {
/*
* Cleanup done in xe_device_destroy via
@@@ -934,6 -946,10 +946,10 @@@ int xe_device_probe(struct xe_device *x
override_has_cached_pt(xe);
for_each_tile(tile, xe, id) {
+ err = xe_tile_wopcm_init(tile);
+ if (err)
+ return err;
+
err = xe_ggtt_init_early(tile->mem.ggtt);
if (err)
return err;
@@@ -1086,18 -1102,18 +1102,18 @@@
if (err)
goto err_unregister_display;
+ xe_vsec_init(xe);
+
xe_debugfs_register(xe);
err = xe_hwmon_register(xe);
if (err)
- goto err_unregister_display;
+ goto err_unregister_vsec;
err = xe_i2c_probe(xe);
if (err)
goto err_unregister_hwmon;
- xe_vsec_init(xe);
-
err = xe_sriov_init_late(xe);
if (err)
goto err_unregister_hwmon;
@@@ -1112,6 -1128,8 +1128,8 @@@
err_unregister_hwmon:
xe_hwmon_unregister(xe);
+ err_unregister_vsec:
+ xe_vsec_remove(xe);
err_unregister_display:
xe_display_unregister(xe);
drm_dev_unregister(&xe->drm);
@@@ -1122,6 -1140,7 +1140,7 @@@
void xe_device_remove(struct xe_device *xe)
{
xe_hwmon_unregister(xe);
+ xe_vsec_remove(xe);
xe_display_unregister(xe);
drm_dev_unplug(&xe->drm);
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2026-11-26 15:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 15:05 Mark Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-12 16:50 linux-next: manual merge of the drm-xe tree with the origin tree Mark Brown
2026-09-29 14:56 Mark Brown
2026-08-28 13:27 Mark Brown
2026-07-22 15:58 Mark Brown
2026-07-20 14:44 Mark Brown
2026-06-15 14:43 Mark Brown
2026-03-23 16:11 Mark Brown
2026-02-24 12:43 Mark Brown
2026-02-23 13:39 Mark Brown
2026-02-23 13:35 Mark Brown
2026-02-23 13:34 Mark Brown
2025-09-15 22:18 Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awhKrF41vLIOFkKf@sirena.org.uk \
--to=broonie@kernel.org \
--cc=airlied@redhat.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=dnyaneshwar.bhadane@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=matthew.auld@intel.com \
--cc=matthew.brost@intel.com \
--cc=matthew.d.roper@intel.com \
--cc=michael.j.ruhl@intel.com \
--cc=raag.jadav@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=thomas.hellstrom@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox