The xe driver does not define an irq domain for the GSC (which would
automatically allocate the interrupt descriptors on the same NUMA node as
the interrupt controller), so explicitly specify the same NUMA node that
the PCI device is attached to.

Signed-off-by: Simon Richter <[email protected]>
---
 drivers/gpu/drm/xe/xe_heci_gsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_heci_gsc.c b/drivers/gpu/drm/xe/xe_heci_gsc.c
index 3c4972a9922c..18d69d0dfba2 100644
--- a/drivers/gpu/drm/xe/xe_heci_gsc.c
+++ b/drivers/gpu/drm/xe/xe_heci_gsc.c
@@ -111,7 +111,7 @@ static int heci_gsc_irq_setup(struct xe_device *xe)
        struct xe_heci_gsc *heci_gsc = &xe->heci_gsc;
        int ret;
 
-       heci_gsc->irq = irq_alloc_desc(0);
+       heci_gsc->irq = irq_alloc_desc(dev_to_node(xe->drm.dev));
        if (heci_gsc->irq < 0) {
                drm_err(&xe->drm, "gsc irq error %d\n", heci_gsc->irq);
                return heci_gsc->irq;
-- 
2.47.3

Reply via email to