All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vandita Kulkarni <vandita.kulkarni@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [Intel-gfx] [V5 3/9] drm/i915/dsi: Add cmd mode flags in display mode private flags
Date: Wed,  8 Jan 2020 19:59:56 +0530	[thread overview]
Message-ID: <20200108143002.13695-4-vandita.kulkarni@intel.com> (raw)
In-Reply-To: <20200108143002.13695-1-vandita.kulkarni@intel.com>

Adding TE flags and periodic command mode flags
as part of private flags to indicate what TE interrupts
we would be getting instead of vblanks in case of mipi dsi
command mode.

v2: Add TE flag description (Jani)

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display_types.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
index a1a73209d824..735e67ac6e52 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -656,6 +656,16 @@ struct intel_crtc_scaler_state {
 #define I915_MODE_FLAG_GET_SCANLINE_FROM_TIMESTAMP (1<<1)
 /* Flag to use the scanline counter instead of the pixel counter */
 #define I915_MODE_FLAG_USE_SCANLINE_COUNTER (1<<2)
+/*
+ * TE0 or TE1 flag is set if the crtc has a DSI encoder which
+ * is operating in command mode.
+ * Flag to use TE from DSI0 instead of VBI in command mode
+ */
+#define I915_MODE_FLAG_DSI_USE_TE0 (1<<3)
+/* Flag to use TE from DSI1 instead of VBI in command mode */
+#define I915_MODE_FLAG_DSI_USE_TE1 (1<<4)
+/* Flag to indicate mipi dsi periodic command mode where we do not get TE */
+#define I915_MODE_FLAG_DSI_PERIODIC_CMD_MODE (1<<5)
 
 struct intel_pipe_wm {
 	struct intel_wm_level wm[5];
-- 
2.21.0.5.gaeb582a

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2020-01-08 15:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-08 14:29 [Intel-gfx] [V5 0/9] Add support for mipi dsi cmd mode Vandita Kulkarni
2020-01-08 14:29 ` [Intel-gfx] [V5 1/9] drm/i915/dsi: Configure transcoder operation for command mode Vandita Kulkarni
2020-01-08 14:29 ` [Intel-gfx] [V5 2/9] drm/i915/dsi: Add vblank calculation " Vandita Kulkarni
2020-01-08 14:29 ` Vandita Kulkarni [this message]
2020-01-08 14:29 ` [Intel-gfx] [V5 4/9] drm/i915/dsi: Add check for periodic " Vandita Kulkarni
2020-01-08 14:29 ` [Intel-gfx] [V5 5/9] drm/i915/dsi: Use private flags to indicate TE in cmd mode Vandita Kulkarni
2020-01-08 14:29 ` [Intel-gfx] [V5 6/9] drm/i915/dsi: Configure TE interrupt for " Vandita Kulkarni
2020-01-08 14:30 ` [Intel-gfx] [V5 7/9] drm/i915/dsi: Add TE handler for dsi " Vandita Kulkarni
2020-01-08 14:30 ` [Intel-gfx] [V5 8/9] drm/i915/dsi: Initiate fame request in " Vandita Kulkarni
2020-01-08 14:30 ` [Intel-gfx] [V5 9/9] drm/i915/dsi: Clear the DSI IIR Vandita Kulkarni
2020-01-09 10:45 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for Add support for mipi dsi cmd mode (rev4) 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=20200108143002.13695-4-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.