Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"Manna, Animesh" <animesh.manna@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Cc: "Murthy, Arun R" <arun.r.murthy@intel.com>,
	"Nikula, Jani" <jani.nikula@intel.com>
Subject: Re: [PATCH v6 0/6] Link off between frames for edp
Date: Mon, 27 May 2024 09:59:23 +0000	[thread overview]
Message-ID: <709e66334c10d8ce0b8c036058b91cbd8791a4ea.camel@intel.com> (raw)
In-Reply-To: <20240527082636.1519057-1-animesh.manna@intel.com>

On Mon, 2024-05-27 at 13:56 +0530, Animesh Manna wrote:
> Link Off Between Active Frames (LOBF) allows an eDP link to be turned
> Off and On
> durning long VBLANK durations without enabling any of the PSR/PSR2/PR
> modes of operation.
> 
> Bspec: 71477
> 
> Note: Lobf need to be enabled adaptive sync fixed refresh mode
> where vmin = vmax = flipline, which will arise after cmmr feature
> enablement. Currently existing code refactored and make compute-
> config()
> and enabling function ready. Will add enabling sequence in a separate
> patch.

For the whole set:

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>

Couple of points that needs some attention later:

PSR code should move to use intel_alpm_aux_wake_supported and
intel_alpm_aux_less_wake_supported rather than read
DP_RECEIVER_ALPM_CAP again. I will probably take care of this in my
Panel Replay eDP patch set.

We could have common intel_alpm_compute_config which would calculate
alpm_params. Then common intel_alpm_configure call for both PSR and
LOBF which would write what is computed in intel_alpm_compute_config,
intel_alpm_lobf_compute_config and intel_psr_compute_config.

BR,

Jouni Högander

> 
> Signed-off-by: Animesh Manna <animesh.manna@intel.com>
> 
> Animesh Manna (5):
>   drm/i915/alpm: Move alpm parameters from intel_psr
>   drm/i915/alpm: Move alpm related code to a new file
>   drm/i915/alpm: Add compute config for lobf
>   drm/i915/alpm: Enable lobf from source in ALPM_CTL
>   drm/i915/alpm: Add debugfs for LOBF
> 
> Jouni Högander (1):
>   drm/display: Add missing aux less alpm wake related bits
> 
>  drivers/gpu/drm/i915/Makefile                 |   1 +
>  drivers/gpu/drm/i915/display/intel_alpm.c     | 411
> ++++++++++++++++++
>  drivers/gpu/drm/i915/display/intel_alpm.h     |  25 ++
>  .../drm/i915/display/intel_display_debugfs.c  |   2 +
>  .../drm/i915/display/intel_display_types.h    |  26 +-
>  drivers/gpu/drm/i915/display/intel_dp.c       |   4 +
>  drivers/gpu/drm/i915/display/intel_psr.c      | 303 +------------
>  drivers/gpu/drm/xe/Makefile                   |   1 +
>  include/drm/display/drm_dp.h                  |   5 +-
>  9 files changed, 475 insertions(+), 303 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/display/intel_alpm.c
>  create mode 100644 drivers/gpu/drm/i915/display/intel_alpm.h
> 


  parent reply	other threads:[~2024-05-27  9:59 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
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 ` Hogander, Jouni [this message]
2024-05-27 10:53 ` ✓ Fi.CI.BAT: success for Link off between frames for edp (rev6) Patchwork
2024-05-27 10:53 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-05-27 10:53 ` ✗ Fi.CI.SPARSE: " 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=709e66334c10d8ce0b8c036058b91cbd8791a4ea.camel@intel.com \
    --to=jouni.hogander@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 \
    /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