mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-09 18:26:58 +00:00
drm/xe/gt: Enable interrupt while initializing root gt
At present the interrupts are enabled while initializing the last GT. But this is incorrect for a Multi-GT platform, as root GT initialization will fail with interrupt disabled. Interrupts are required for the GuC submission triggered during initialization. Enable the interrupt during the root GT initialization. Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
parent
a4c75c0fd6
commit
9484c7dce4
@ -334,7 +334,7 @@ static void dg1_irq_postinstall(struct xe_device *xe, struct xe_gt *gt)
|
||||
GEN3_IRQ_INIT(gt, GEN11_GU_MISC_, ~GEN11_GU_MISC_GSE,
|
||||
GEN11_GU_MISC_GSE);
|
||||
|
||||
if (gt->info.id + 1 == xe->info.tile_count)
|
||||
if (gt->info.id == XE_GT0)
|
||||
dg1_intr_enable(xe, true);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user