diff options
author | Daniele Ceraolo Spurio <[email protected]> | 2019-01-22 18:32:27 -0800 |
---|---|---|
committer | Mika Kuoppala <[email protected]> | 2019-01-23 13:56:32 +0200 |
commit | c25f0c6a0426527134d992bb4782cf5abdf962b6 (patch) | |
tree | 9ca9d36b5f72ea6e2efa3adb6e61482caf1435b2 /scripts/bpf_helpers_doc.py | |
parent | a9dc3395fc8bc460761f853b71971bdc1671560f (diff) |
drm/i915/icl: do a posting read after irq install
When reading GEN11_GT_INTR_DWx closely after enabling the interrupts
in gen11_irq_postinstall, the returned value is garbage. This can
cause other parts of the setup code (e.g. gen11_reset_one_iir) to
think that there are interrupts to be cleared when there are none.
The garbage value is only seen on the first read done after the enable,
so this looks like a posting issue. Adding a posting read after enabling
the interrupts does indeed fix the problem.
Note that the posting read has been purposely added outside of
gen11_master_intr_enable since the issue has only been observed when the
full interrupt setup is performed.
Cc: Mika Kuoppala <[email protected]>
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Acked-by: Chris Wilson <[email protected]>
Acked-by: Mika Kuoppala <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions