intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: "Jouni Högander" <jouni.hogander@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>,
	"Animesh Manna" <animesh.manna@intel.com>,
	"Arun R Murthy" <arun.r.murthy@intel.com>,
	"Jouni Högander" <jouni.hogander@intel.com>
Subject: [PATCH v3 1/6] drm/display: Add missing aux less alpm wake related bits
Date: Wed,  6 Mar 2024 12:45:08 +0200	[thread overview]
Message-ID: <20240306104513.2129442-2-jouni.hogander@intel.com> (raw)
In-Reply-To: <20240306104513.2129442-1-jouni.hogander@intel.com>

eDP1.5 adds some more bits into DP_RECEIVER_ALPM_CAP and
DP_RECEIVER_ALPM_CONFIG registers. Add definitions for these.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 include/drm/display/drm_dp.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
index 4891bd916d26..651d117d636d 100644
--- a/include/drm/display/drm_dp.h
+++ b/include/drm/display/drm_dp.h
@@ -232,6 +232,8 @@
 
 #define DP_RECEIVER_ALPM_CAP		    0x02e   /* eDP 1.4 */
 # define DP_ALPM_CAP			    (1 << 0)
+# define DP_ALPM_PM_STATE_2A_SUPPORT	    (1 << 1) /* eDP 1.5 */
+# define DP_ALPM_AUX_LESS_CAP		    (1 << 2) /* eDP 1.5 */
 
 #define DP_SINK_DEVICE_AUX_FRAME_SYNC_CAP   0x02f   /* eDP 1.4 */
 # define DP_AUX_FRAME_SYNC_CAP		    (1 << 0)
@@ -677,7 +679,8 @@
 
 #define DP_RECEIVER_ALPM_CONFIG		    0x116   /* eDP 1.4 */
 # define DP_ALPM_ENABLE			    (1 << 0)
-# define DP_ALPM_LOCK_ERROR_IRQ_HPD_ENABLE  (1 << 1)
+# define DP_ALPM_LOCK_ERROR_IRQ_HPD_ENABLE  (1 << 1) /* eDP 1.5 */
+# define DP_ALPM_MODE_AUX_LESS		    (1 << 2) /* eDP 1.5 */
 
 #define DP_SINK_DEVICE_AUX_FRAME_SYNC_CONF  0x117   /* eDP 1.4 */
 # define DP_AUX_FRAME_SYNC_ENABLE	    (1 << 0)
-- 
2.34.1


  reply	other threads:[~2024-03-06 10:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 10:45 [PATCH v3 0/6] ALPM AUX-Less Jouni Högander
2024-03-06 10:45 ` Jouni Högander [this message]
2024-03-13 11:14   ` [PATCH v3 1/6] drm/display: Add missing aux less alpm wake related bits Manna, Animesh
2024-03-13 12:05     ` Hogander, Jouni
2024-03-06 10:45 ` [PATCH v3 2/6] drm/i915/psr: Add missing ALPM AUX-Less register definitions Jouni Högander
2024-03-06 10:45 ` [PATCH v3 3/6] drm/i915/psr: Calculate aux less wake time Jouni Högander
2024-03-13 11:14   ` Manna, Animesh
2024-03-13 12:11     ` Hogander, Jouni
2024-03-06 10:45 ` [PATCH v3 4/6] drm/i915/psr: Silence period and lfps half cycle Jouni Högander
2024-03-06 10:45 ` [PATCH v3 5/6] drm/i915/psr: Enable ALPM for eDP Panel replay Jouni Högander
2024-03-13 11:15   ` Manna, Animesh
2024-03-13 12:15     ` Hogander, Jouni
2024-03-06 10:45 ` [PATCH v3 6/6] drm/i915/psr: Do not write ALPM configuration for PSR1 or DP2.0 Panel Replay Jouni Högander
2024-03-13 11:18   ` Manna, Animesh
2024-03-13 12:23     ` Hogander, Jouni
2024-03-06 20:03 ` ✗ Fi.CI.CHECKPATCH: warning for ALPM AUX-Less (rev3) Patchwork
2024-03-06 20:03 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-03-06 20:17 ` ✓ Fi.CI.BAT: success " Patchwork
2024-03-07 15:11 ` ✗ Fi.CI.IGT: failure " 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=20240306104513.2129442-2-jouni.hogander@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=animesh.manna@intel.com \
    --cc=arun.r.murthy@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).