Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Subject: [PATCH 0/3] drm/i915/vrr: Fix DSB+VRR usage for PTL+
Date: Thu, 30 Jan 2025 20:45:15 +0200	[thread overview]
Message-ID: <20250130184518.22353-1-ville.syrjala@linux.intel.com> (raw)

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Apparently PTL (or I suppose it could have already happened
in either MTL or LNL, didn't have either one to check) changes
the way the VRR hardwre works by ending the safe window as
soon as the push send is triggered. Reorder our DSB programming
sequence to account for that, and try to make sure we catch any
vblank evasion fails that could cause problems with the new
order.

Ville Syrjälä (3):
  drm/i915/dsb: Introduce intel_dsb_poll()
  drm/i915/vrr: Reorder the DSB "wait for safe window" vs. TRANS_PUSH
  drm/i915/vrr: Poll for the push send bit to clear on the DSB

 drivers/gpu/drm/i915/display/intel_color.c   |  3 ++
 drivers/gpu/drm/i915/display/intel_display.c | 13 ++------
 drivers/gpu/drm/i915/display/intel_dsb.c     | 19 ++++++++++++
 drivers/gpu/drm/i915/display/intel_dsb.h     |  3 ++
 drivers/gpu/drm/i915/display/intel_vrr.c     | 31 ++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_vrr.h     |  2 ++
 6 files changed, 61 insertions(+), 10 deletions(-)

-- 
2.45.3


             reply	other threads:[~2025-01-30 18:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-30 18:45 Ville Syrjala [this message]
2025-01-30 18:45 ` [PATCH 1/3] drm/i915/dsb: Introduce intel_dsb_poll() Ville Syrjala
2025-02-06  9:27   ` Nautiyal, Ankit K
2025-01-30 18:45 ` [PATCH 2/3] drm/i915/vrr: Reorder the DSB "wait for safe window" vs. TRANS_PUSH Ville Syrjala
2025-02-06  9:46   ` Nautiyal, Ankit K
2025-01-30 18:45 ` [PATCH 3/3] drm/i915/vrr: Poll for the push send bit to clear on the DSB Ville Syrjala
2025-02-06  9:52   ` Nautiyal, Ankit K
2025-01-30 19:13 ` ✓ CI.Patch_applied: success for drm/i915/vrr: Fix DSB+VRR usage for PTL+ Patchwork
2025-01-30 19:13 ` ✓ CI.checkpatch: " Patchwork
2025-01-30 19:14 ` ✓ CI.KUnit: " Patchwork
2025-01-30 19:31 ` ✓ CI.Build: " Patchwork
2025-01-30 19:33 ` ✓ CI.Hooks: " Patchwork
2025-01-30 19:35 ` ✗ CI.checksparse: warning " Patchwork
2025-01-30 19:54 ` ✓ Xe.CI.BAT: success " Patchwork
2025-01-30 22:54 ` ✗ Xe.CI.Full: 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=20250130184518.22353-1-ville.syrjala@linux.intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    /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