All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>,
	intel-gfx@lists.freedesktop.org
Cc: ankit.k.nautiyal@intel.com
Subject: Re: [PATCH] i915/display/dp: Compute AS SDP when vrr is also enabled
Date: Thu, 25 Jul 2024 17:12:44 +0300	[thread overview]
Message-ID: <87jzh9zhk3.fsf@intel.com> (raw)
In-Reply-To: <20240725133110.112401-1-mitulkumar.ajitkumar.golani@intel.com>

On Thu, 25 Jul 2024, Mitul Golani <mitulkumar.ajitkumar.golani@intel.com> wrote:
> AS SDP should be computed when VRR timing generator is also enabled.
> Correct the compute condition to compute params of Adaptive sync SDP
> when VRR timing genrator is enabled along with sink support indication.
>
> Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 5d6568c8e186..dc75d1c14a94 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -2617,7 +2617,7 @@ static void intel_dp_compute_as_sdp(struct intel_dp *intel_dp,
>  	const struct drm_display_mode *adjusted_mode =
>  		&crtc_state->hw.adjusted_mode;
>  
> -	if (!crtc_state->vrr.enable || intel_dp->as_sdp_supported)
> +	if (!(crtc_state->vrr.enable && intel_dp->as_sdp_supported))
>  		return;

That's the same as

	if (!crtc_state->vrr.enable || !intel_dp->as_sdp_supported)

BR,
Jani.


>  
>  	crtc_state->infoframes.enable |= intel_hdmi_infoframe_enable(DP_SDP_ADAPTIVE_SYNC);

-- 
Jani Nikula, Intel

  reply	other threads:[~2024-07-25 14:12 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 13:31 [PATCH] i915/display/dp: Compute AS SDP when vrr is also enabled Mitul Golani
2024-07-25 14:12 ` Jani Nikula [this message]
2024-07-26  8:50   ` Golani, Mitulkumar Ajitkumar
2024-07-25 14:17 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-07-26  3:59 ` ✓ Fi.CI.IGT: " Patchwork
2024-07-26  8:50 ` [PATCH v2] " Mitul Golani
2024-07-29 14:37   ` Nautiyal, Ankit K
2024-07-30  4:09   ` [PATCH v3] " Mitul Golani
2024-07-30 11:44     ` Nautiyal, Ankit K
2024-07-26  9:36 ` ✓ Fi.CI.BAT: success for i915/display/dp: Compute AS SDP when vrr is also enabled (rev2) Patchwork
2024-07-27  3:37 ` ✓ Fi.CI.IGT: " Patchwork
2024-07-30  4:14 ` ✓ CI.Patch_applied: success for i915/display/dp: Compute AS SDP when vrr is also enabled Patchwork
2024-07-30  4:14 ` ✓ CI.checkpatch: " Patchwork
2024-07-30  4:15 ` ✓ CI.KUnit: " Patchwork
2024-07-30  4:27 ` ✓ CI.Build: " Patchwork
2024-07-30  4:29 ` ✓ CI.Hooks: " Patchwork
2024-07-30  4:31 ` ✗ CI.checksparse: warning " Patchwork
2024-07-30  4:50 ` ✓ CI.BAT: success " Patchwork
2024-07-30  5:06 ` ✗ Fi.CI.BAT: failure for i915/display/dp: Compute AS SDP when vrr is also enabled (rev3) Patchwork
2024-07-30  5:40 ` ✗ CI.FULL: failure for i915/display/dp: Compute AS SDP when vrr is also enabled Patchwork
2024-07-30  7:52 ` ✓ Fi.CI.BAT: success for i915/display/dp: Compute AS SDP when vrr is also enabled (rev3) Patchwork
2024-07-30 15:54 ` ✗ 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=87jzh9zhk3.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mitulkumar.ajitkumar.golani@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.