All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Animesh Manna <animesh.manna@intel.com>, intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org, jouni.hogander@intel.com,
	arun.r.murthy@intel.com, Animesh Manna <animesh.manna@intel.com>
Subject: Re: [PATCH v2 5/6] drm/i915/alpm: Enable lobf from source in ALPM_CTL
Date: Mon, 15 Apr 2024 14:48:54 +0300	[thread overview]
Message-ID: <87v84i3kyh.fsf@intel.com> (raw)
In-Reply-To: <20240412155243.2891996-6-animesh.manna@intel.com>

On Fri, 12 Apr 2024, Animesh Manna <animesh.manna@intel.com> wrote:
> Set the Link Off Between Frames Enable bit in ALPM_CTL register.
>
> Signed-off-by: Animesh Manna <animesh.manna@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_alpm.c          | 5 +++++
>  drivers/gpu/drm/i915/display/intel_display_types.h | 1 +
>  2 files changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c b/drivers/gpu/drm/i915/display/intel_alpm.c
> index 699f2f051766..ae894c85233c 100644
> --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> @@ -325,6 +325,11 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp)
>  			   ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp->alpm_parameters.fast_wake_lines);
>  	}
>  
> +	if (intel_dp->lobf_supported) {
> +		alpm_ctl |= ALPM_CTL_LOBF_ENABLE;
> +		intel_dp->lobf_enabled = true;

Gut feeling says this should not be part of intel_dp but rather crtc
state.

BR,
Jani.

> +	}
> +
>  	alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp->alpm_parameters.check_entry_lines);
>  
>  	intel_de_write(dev_priv, ALPM_CTL(cpu_transcoder), alpm_ctl);
> diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
> index 6116c383b543..f61ba582429b 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
> @@ -1884,6 +1884,7 @@ struct intel_dp {
>  
>  	/* LOBF flags*/
>  	bool lobf_supported;
> +	bool lobf_enabled;
>  };
>  
>  enum lspcon_vendor {

-- 
Jani Nikula, Intel

  parent reply	other threads:[~2024-04-15 11:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 15:52 [PATCH v2 0/6] Link off between frames for edp Animesh Manna
2024-04-12 15:52 ` [PATCH v2 1/6] drm/i915/alpm: Move alpm parameters from intel_psr Animesh Manna
2024-04-12 15:52 ` [PATCH v2 2/6] drm/i915/alpm: Move alpm related code to a new file Animesh Manna
2024-04-15 11:46   ` Jani Nikula
2024-04-16  8:22     ` Manna, Animesh
2024-04-12 15:52 ` [PATCH v2 3/6] drm/display: Add missing aux less alpm wake related bits Animesh Manna
2024-04-12 15:52 ` [PATCH v2 4/6] drm/i915/alpm: Add compute config for lobf Animesh Manna
2024-04-15 10:06   ` Hogander, Jouni
2024-04-16  8:15     ` Manna, Animesh
2024-04-16  9:06       ` Hogander, Jouni
2024-04-15 11:47   ` Jani Nikula
2024-04-16  8:24     ` Manna, Animesh
2024-04-12 15:52 ` [PATCH v2 5/6] drm/i915/alpm: Enable lobf from source in ALPM_CTL Animesh Manna
2024-04-15 10:09   ` Hogander, Jouni
2024-04-16  8:20     ` Manna, Animesh
2024-04-16  9:10       ` Hogander, Jouni
2024-04-15 11:48   ` Jani Nikula [this message]
2024-04-16  8:36     ` Manna, Animesh
2024-04-12 15:52 ` [PATCH v2 6/6] drm/i915/alpm: Add debugfs for LOBF Animesh Manna
2024-04-15 10:14   ` Hogander, Jouni
2024-04-16  8:21     ` Manna, Animesh
2024-04-15 11:53   ` Jani Nikula
2024-04-16  8:43     ` Manna, Animesh
2024-04-15 12:58 ` ✗ Fi.CI.CHECKPATCH: warning for Link off between frames for edp (rev2) Patchwork
2024-04-15 12:58 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-04-15 13:08 ` ✗ Fi.CI.BAT: 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=87v84i3kyh.fsf@intel.com \
    --to=jani.nikula@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=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 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.