summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_device.c
diff options
context:
space:
mode:
authorVitaly Lubart <vitaly.lubart@intel.com>2023-08-28 19:24:03 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:43:00 -0500
commit87a4c85d3a3ed579c86fd2612715ccb94c4001ff (patch)
tree38d2e2f9dbbe385a96624a7dd0ef906198263106 /drivers/gpu/drm/xe/xe_device.c
parent437d7a84ada7a4cfeab2d9555c446936c3fb09f4 (diff)
downloadlwn-87a4c85d3a3ed579c86fd2612715ccb94c4001ff.tar.gz
lwn-87a4c85d3a3ed579c86fd2612715ccb94c4001ff.zip
drm/xe/gsc: add gsc device support
Create mei-gscfi auxiliary device and configure interrupts to be consumed by mei-gsc device driver. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_device.c')
-rw-r--r--drivers/gpu/drm/xe/xe_device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 283fc5990000..2bbd3aa2809b 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -321,6 +321,8 @@ int xe_device_probe(struct xe_device *xe)
goto err_irq_shutdown;
}
+ xe_heci_gsc_init(xe);
+
err = drm_dev_register(&xe->drm, 0);
if (err)
goto err_irq_shutdown;
@@ -344,6 +346,8 @@ err_irq_shutdown:
void xe_device_remove(struct xe_device *xe)
{
+ xe_heci_gsc_fini(xe);
+
xe_irq_shutdown(xe);
}