From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
ankit.k.nautiyal@intel.com
Subject: Re: [RFC] Add AS_SDP to fastset
Date: Mon, 30 Sep 2024 20:10:32 +0300 [thread overview]
Message-ID: <ZvrbiJtnY1YqFXRs@intel.com> (raw)
In-Reply-To: <20240808094849.1299028-1-mitulkumar.ajitkumar.golani@intel.com>
On Thu, Aug 08, 2024 at 03:18:49PM +0530, Mitul Golani wrote:
> Add full modeset being triggered during VRR enable/disable, specially
> when panel has Adaptive sync SDP suypport.
>
> Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_display.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index 2755ebbbb9d2..b41ea78d4c89 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -5433,7 +5433,8 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
> PIPE_CONF_CHECK_INFOFRAME(hdmi);
> PIPE_CONF_CHECK_INFOFRAME(drm);
> PIPE_CONF_CHECK_DP_VSC_SDP(vsc);
> - PIPE_CONF_CHECK_DP_AS_SDP(as_sdp);
> + if(!fastset)
> + PIPE_CONF_CHECK_DP_AS_SDP(as_sdp);
What is needed is:
step 1: Fix vrr.vsync_{start,end} computation, and add them to
the state checker + state dump. currently those depend on
crtc_state->vrr.enable which is wrong
step 2: figure out what kind of sequencing requirements there
for enabling/disabling the SDP vs. enabling/disabling
VRR, and then probably rewrite the hacky code that
tries to updated infoframes during fastset to actually
work properly
>
> PIPE_CONF_CHECK_X(sync_mode_slaves_mask);
> PIPE_CONF_CHECK_I(master_transcoder);
> --
> 2.45.2
--
Ville Syrjälä
Intel
prev parent reply other threads:[~2024-09-30 17:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-08 9:48 [RFC] Add AS_SDP to fastset Mitul Golani
2024-08-08 9:58 ` Jani Nikula
2024-09-30 16:57 ` Golani, Mitulkumar Ajitkumar
2024-08-08 10:34 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2024-08-08 10:38 ` ✓ Fi.CI.BAT: success " Patchwork
2024-08-08 11:11 ` ✓ CI.Patch_applied: " Patchwork
2024-08-08 11:11 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-08 11:12 ` ✓ CI.KUnit: success " Patchwork
2024-08-08 11:24 ` ✓ CI.Build: " Patchwork
2024-08-08 11:26 ` ✓ CI.Hooks: " Patchwork
2024-08-08 11:28 ` ✗ CI.checksparse: warning " Patchwork
2024-08-08 11:48 ` ✓ CI.BAT: success " Patchwork
2024-08-08 14:40 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-08-08 15:01 ` ✓ CI.FULL: success " Patchwork
2024-09-30 17:10 ` Ville Syrjälä [this message]
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=ZvrbiJtnY1YqFXRs@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@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.