aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Cavitt <[email protected]>2023-11-03 14:03:24 -0700
committerRodrigo Vivi <[email protected]>2023-12-21 11:43:34 -0500
commitd7925d04c062b8adcbbff9604422f979e9dbedb7 (patch)
tree30ea067aec17598ff3ffbc3b160483d93213fd0f
parent37d1eaab34ab9cdd6022a188ce6b77a88f81c7e2 (diff)
drm/xe: clear the serviced bits on INTR_IDENTITY_REG
The spec for this register, like many other interrupt related ones, asks software to write back '1' to clear the serviced bits. Let's respect the spec. v2: - Update commit message - Add missing CC Signed-off-by: Jonathan Cavitt <[email protected]> CC: Daniele Spurio Ceraolo <[email protected]> CC: Lucas De Marchi <[email protected]> CC: Rodrigo Vivi <[email protected]> CC: Paulo Zanoni <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Lucas De Marchi <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
-rw-r--r--drivers/gpu/drm/xe/xe_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c
index 5631e5e1ea20..ef26120e7aa4 100644
--- a/drivers/gpu/drm/xe/xe_irq.c
+++ b/drivers/gpu/drm/xe/xe_irq.c
@@ -231,7 +231,7 @@ gt_engine_identity(struct xe_device *xe,
return 0;
}
- xe_mmio_write32(mmio, INTR_IDENTITY_REG(bank), INTR_DATA_VALID);
+ xe_mmio_write32(mmio, INTR_IDENTITY_REG(bank), ident);
return ident;
}