From: Vandita Kulkarni <vandita.kulkarni@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [Intel-gfx] [V8 9/9] drm/i915/dsi: Clear the DSI IIR
Date: Thu, 12 Mar 2020 11:08:41 +0530 [thread overview]
Message-ID: <20200312053841.2794-10-vandita.kulkarni@intel.com> (raw)
In-Reply-To: <20200312053841.2794-1-vandita.kulkarni@intel.com>
Clear the DSI IIR as part of interrupt configuration.
Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
---
drivers/gpu/drm/i915/i915_irq.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 2e1418515c9f..89c8cabe24e0 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -2708,6 +2708,11 @@ static bool gen11_dsi_configure_te(struct intel_crtc *intel_crtc,
tmp |= DSI_TE_EVENT;
I915_WRITE(DSI_INTR_MASK_REG(port), tmp);
+
+ /* FIXME: right place to clear this */
+ tmp = I915_READ(DSI_INTR_IDENT_REG(port));
+ I915_WRITE(DSI_INTR_IDENT_REG(port), tmp);
+
return true;
}
--
2.21.0.5.gaeb582a
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2020-03-12 6:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-12 5:38 [Intel-gfx] [V8 0/9] Add support for mipi dsi cmd mode Vandita Kulkarni
2020-03-12 5:38 ` [Intel-gfx] [V8 1/9] drm/i915/dsi: Configure transcoder operation for command mode Vandita Kulkarni
2020-03-12 5:38 ` [Intel-gfx] [V8 2/9] drm/i915/dsi: Add vblank calculation " Vandita Kulkarni
2020-03-12 5:38 ` [Intel-gfx] [V8 3/9] drm/i915/dsi: Add cmd mode flags in display mode private flags Vandita Kulkarni
2020-03-12 5:38 ` [Intel-gfx] [V8 4/9] drm/i915/dsi: Add check for periodic command mode Vandita Kulkarni
2020-03-12 5:38 ` [Intel-gfx] [V8 5/9] drm/i915/dsi: Use private flags to indicate TE in cmd mode Vandita Kulkarni
2020-03-24 15:28 ` Jani Nikula
2020-03-12 5:38 ` [Intel-gfx] [V8 6/9] drm/i915/dsi: Configure TE interrupt for " Vandita Kulkarni
2020-03-12 5:38 ` [Intel-gfx] [V8 7/9] drm/i915/dsi: Add TE handler for dsi " Vandita Kulkarni
2020-03-24 15:31 ` Jani Nikula
2020-03-12 5:38 ` [Intel-gfx] [V8 8/9] drm/i915/dsi: Initiate fame request in " Vandita Kulkarni
2020-03-12 5:38 ` Vandita Kulkarni [this message]
2020-03-12 6:37 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add support for mipi dsi cmd mode (rev7) Patchwork
2020-03-12 6:40 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2020-03-12 7:00 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2020-03-16 21:59 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add support for mipi dsi cmd mode (rev8) Patchwork
2020-03-16 22:02 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2020-03-16 22:17 ` [Intel-gfx] ✗ Fi.CI.DOCS: " Patchwork
2020-03-16 22:23 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-03-17 6:59 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200312053841.2794-10-vandita.kulkarni@intel.com \
--to=vandita.kulkarni@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.