public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: Animesh Manna <animesh.manna@intel.com>,
	<intel-gfx@lists.freedesktop.org>,
	<dri-devel@lists.freedesktop.org>
Cc: <jani.nikula@intel.com>, <jouni.hogander@intel.com>,
	<arun.r.murthy@intel.com>
Subject: Re: [PATCH v6 3/6] drm/display: Add missing aux less alpm wake related bits
Date: Wed, 29 May 2024 11:46:08 +0530	[thread overview]
Message-ID: <827d6136-1370-4c98-9536-b4580bc52411@intel.com> (raw)
In-Reply-To: <20240527082636.1519057-4-animesh.manna@intel.com>


On 5/27/2024 1:56 PM, Animesh Manna wrote:
> From: Jouni Högander <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 906949ca3cee..3317ff88ed59 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 */

This bit seems to be derived from DP 2.1.

As per eDP1.5: Only bits [1 and 0] are eDP-specific. The register’s 
other bits are defined in DP Standard.

In any case, patch looks good to me.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>


Regards,

Ankit

>   
>   #define DP_SINK_DEVICE_AUX_FRAME_SYNC_CAP   0x02f   /* eDP 1.4 */
>   # define DP_AUX_FRAME_SYNC_CAP		    (1 << 0)
> @@ -683,7 +685,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)

  parent reply	other threads:[~2024-05-29  6:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-27  8:26 [PATCH v6 0/6] Link off between frames for edp Animesh Manna
2024-05-27  8:26 ` [PATCH v6 1/6] drm/i915/alpm: Move alpm parameters from intel_psr Animesh Manna
2024-05-27  8:26 ` [PATCH v6 2/6] drm/i915/alpm: Move alpm related code to a new file Animesh Manna
2024-05-27  8:26 ` [PATCH v6 3/6] drm/display: Add missing aux less alpm wake related bits Animesh Manna
2024-05-28 10:04   ` Manna, Animesh
2024-05-28 11:12     ` mripard
2024-05-29  6:16   ` Nautiyal, Ankit K [this message]
2024-05-27  8:26 ` [PATCH v6 4/6] drm/i915/alpm: Add compute config for lobf Animesh Manna
2024-05-27  8:26 ` [PATCH v6 5/6] drm/i915/alpm: Enable lobf from source in ALPM_CTL Animesh Manna
2024-05-27  8:26 ` [PATCH v6 6/6] drm/i915/alpm: Add debugfs for LOBF Animesh Manna
2024-05-27  9:59 ` [PATCH v6 0/6] Link off between frames for edp Hogander, Jouni
2024-05-27 10:53 ` ✗ Fi.CI.CHECKPATCH: warning for Link off between frames for edp (rev6) Patchwork
2024-05-27 10:53 ` ✓ Fi.CI.BAT: success " Patchwork
2024-05-27 10:53 ` ✗ Fi.CI.SPARSE: warning " Patchwork
2024-05-27 17:14 ` ✗ 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=827d6136-1370-4c98-9536-b4580bc52411@intel.com \
    --to=ankit.k.nautiyal@intel.com \
    --cc=animesh.manna@intel.com \
    --cc=arun.r.murthy@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=jouni.hogander@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