Commit d7925d04 authored by Jonathan Cavitt's avatar Jonathan Cavitt Committed by Rodrigo Vivi

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: default avatarJonathan Cavitt <jonathan.cavitt@intel.com>
CC: Daniele Spurio Ceraolo <daniele.ceraolospurio@intel.com>
CC: Lucas De Marchi <lucas.demarchi@intel.com>
CC: Rodrigo Vivi <rodrigo.vivi@intel.com>
CC: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 37d1eaab
...@@ -231,7 +231,7 @@ gt_engine_identity(struct xe_device *xe, ...@@ -231,7 +231,7 @@ gt_engine_identity(struct xe_device *xe,
return 0; return 0;
} }
xe_mmio_write32(mmio, INTR_IDENTITY_REG(bank), INTR_DATA_VALID); xe_mmio_write32(mmio, INTR_IDENTITY_REG(bank), ident);
return ident; return ident;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment