Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Austin Hu <austin.hu@intel.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: ville.syrjala@linux.intel.com, maarten.lankhorst@linux.intel.com,
	vinod.govindapillai@intel.com, huchao426@gmail.com
Subject: Re: [PATCH v3 0/3] drm/i915/fbc: Dirty rectangle bounding and CFB
Date: Thu, 24 Sep 2026 14:25:30 +0300	[thread overview]
Message-ID: <4c41153d0be6d50515eceaf25618ec82643c65c2@intel.com> (raw)
In-Reply-To: <20260923172803.1011636-1-austin.hu@intel.com>

On Wed, 23 Sep 2026, Austin Hu <austin.hu@intel.com> wrote:
> This series updates Intel FBC dirty rectangle handling and refactors plane
> update checks:

Please base your work on drm-tip and send new versions of the series as
standalone threads instead of in-reply-to previous versions.

BR,
Jani.


>
> 1. Moves intel_fbc_can_flip_nuke() higher up in intel_fbc.c to avoid a
>    forward declaration in subsequent FBC checks. (No functional change)
> 2. Clamps FBC dirty rectangle bounds to valid surface limits [y_offset,
>    y_end] and adds logging for out-of-bounds coordinates, including
>    handling for 180-degree plane rotation.
> 3. Tracks plane state attribute changes during atomic commits. When FBC
>    Dirty Rectangle mode is active, partial updates only apply to surface
>    address changes (PLANE_SURF). Modifications to any other plane state
>    parameters require fetching full-plane pixel data from memory to
>    re-compress and update the entire CFB in stolen memory. Once fully
>    re-compressed, subsequent atomic commits can resume selective dirty
>    rectangle updates.
>
> v2 -> v3 changes:
>   - Split function reordering into a separate standalone commit (v3 1/3) to
>     avoid mixing movement and functional changes, per maintainer feedback.
>   - Rebased onto latest drm-tip.
>
> v1 -> v2 changes:
>   - Reused intel_fbc_can_flip_nuke() for plane update state checks as
>     suggested.
>   - Added plane Y-coordinate plane view checking (color_plane[0].y)
>     alongside X.
>
> Austin Hu (2):
>   drm/i915/display/fbc: Move intel_fbc_can_flip_nuke() higher up
>   drm/i915/fbc: nuke CFB if Plane setting (except for surf addr) changes
>
> Charlton Lin (1):
>   drm/i915/fbc: fbc_dirty_rect restrictions and logging
>
>  drivers/gpu/drm/i915/display/intel_fbc.c | 192 +++++++++++++++++------
>  1 file changed, 141 insertions(+), 51 deletions(-)

-- 
Jani Nikula, Intel

  reply	other threads:[~2026-09-24 11:25 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-12 21:53 [PATCH 0/2] drm/i915/fbc: Dirty rectangle bounds enforcement and CFB nuke handling Austin Hu
2026-08-12 21:53 ` [PATCH 1/2] drm/i915/fbc: fbc_dirty_rect restrictions and logging Austin Hu
2026-08-12 22:08   ` sashiko-bot
2026-08-12 21:53 ` [PATCH 2/2] drm/i915/fbc: nuke CFB if Plane setting (except for surf addr) changes Austin Hu
2026-08-12 22:10   ` sashiko-bot
2026-08-12 22:03 ` ✓ CI.KUnit: success for drm/i915/fbc: Dirty rectangle bounds enforcement and CFB nuke handling Patchwork
2026-08-12 22:44 ` ✓ Xe.CI.BAT: " Patchwork
2026-08-13  5:40 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-08-25 16:56 ` [PATCH v2 0/2] drm/i915/fbc: Dirty rectangle bounding " Austin Hu
2026-08-25 16:56 ` [PATCH v2 1/2] drm/i915/fbc: fbc_dirty_rect restrictions and logging Austin Hu
2026-08-25 17:16   ` sashiko-bot
2026-08-25 16:56 ` [PATCH v2 2/2] drm/i915/fbc: nuke CFB if Plane setting (except for surf addr) changes Austin Hu
2026-08-25 17:13   ` sashiko-bot
2026-09-07 11:28   ` Jani Nikula
2026-09-23 17:28 ` [PATCH v3 0/3] drm/i915/fbc: Dirty rectangle bounding and CFB Austin Hu
2026-09-24 11:25   ` Jani Nikula [this message]
2026-09-25 21:59     ` Hu, Austin
2026-09-23 17:28 ` [PATCH v3 1/3] drm/i915/display/fbc: Move intel_fbc_can_flip_nuke() higher up Austin Hu
2026-09-23 17:28 ` [PATCH v3 2/3] drm/i915/fbc: fbc_dirty_rect restrictions and logging Austin Hu
2026-09-23 17:44   ` sashiko-bot
2026-09-23 17:28 ` [PATCH v3 3/3] drm/i915/fbc: nuke CFB if Plane setting (except for surf addr) changes Austin Hu
2026-09-23 17:45   ` sashiko-bot

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=4c41153d0be6d50515eceaf25618ec82643c65c2@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=austin.hu@intel.com \
    --cc=huchao426@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=ville.syrjala@linux.intel.com \
    --cc=vinod.govindapillai@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