Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/7] drm/i915/xe3: FBC Dirty rect feature support
@ 2025-01-28 15:54 Vinod Govindapillai
  2025-01-28 15:54 ` [PATCH v5 1/7] drm/i915/xe3: add register definitions for fbc dirty rect support Vinod Govindapillai
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Vinod Govindapillai @ 2025-01-28 15:54 UTC (permalink / raw)
  To: intel-gfx, intel-xe
  Cc: vinod.govindapillai, ville.syrjala, santhosh.reddy.guddati,
	jani.saarinen

Dirty rect support for FBC in xe3 onwards based on the comments after the
initial RFC series.

v2: Dirty rect related compute and storage moved to fbc state (Ville)

V3: Dont call fbc activate if FBC is already active

v4: Dirty rect compute and programming moved within DSB scope
    New changes are added as separate patches to make it easy for review
    But could be squashed if the reviews as ok.

v5: add HAS_FBC_DIRTY_RECT()
    FBC Damage area updates in 3 steps. 
    1. As part of plane_atomic_check() get, adjust coordinates and store
       the merged damage area in plane_state
    2. Atomic_commit, update merged damage are to fbc_state and prepare the
       damage area satifying all conditions
    3  update the FBC dirty rect registers as part of DSB commit.

Vinod Govindapillai (7):
  drm/i915/xe3: add register definitions for fbc dirty rect support
  drm/i915/xe3: introduce HAS_FBC_DIRTY_RECT() for FBC dirty rect
    support
  drm/i915/display: get old_plane_state to the check_plane routine
  drm/i915/display: update and store the plane damage clips
  drm/i915/xe3: avoid calling fbc activate if fbc is active
  drm/i915/xe3: dirty rect support for FBC
  drm/i915/xe3: disable FBC if PSR2 selective fetch is enabled

 drivers/gpu/drm/i915/display/i9xx_plane.c     |   1 +
 .../gpu/drm/i915/display/intel_atomic_plane.c |   7 +-
 drivers/gpu/drm/i915/display/intel_cursor.c   |   2 +
 drivers/gpu/drm/i915/display/intel_display.c  |   7 +
 .../drm/i915/display/intel_display_device.h   |   1 +
 .../drm/i915/display/intel_display_types.h    |   3 +
 drivers/gpu/drm/i915/display/intel_fbc.c      | 133 +++++++++++++++++-
 drivers/gpu/drm/i915/display/intel_fbc.h      |   6 +
 drivers/gpu/drm/i915/display/intel_fbc_regs.h |   9 ++
 drivers/gpu/drm/i915/display/intel_sprite.c   |   2 +
 .../drm/i915/display/skl_universal_plane.c    |  48 +++++++
 11 files changed, 216 insertions(+), 3 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-01-29  9:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-28 15:54 [PATCH v5 0/7] drm/i915/xe3: FBC Dirty rect feature support Vinod Govindapillai
2025-01-28 15:54 ` [PATCH v5 1/7] drm/i915/xe3: add register definitions for fbc dirty rect support Vinod Govindapillai
2025-01-28 15:54 ` [PATCH v5 2/7] drm/i915/xe3: introduce HAS_FBC_DIRTY_RECT() for FBC " Vinod Govindapillai
2025-01-28 15:54 ` [PATCH v5 3/7] drm/i915/display: get old_plane_state to the check_plane routine Vinod Govindapillai
2025-01-28 15:54 ` [PATCH v5 4/7] drm/i915/display: update and store the plane damage clips Vinod Govindapillai
2025-01-28 16:14   ` Ville Syrjälä
2025-01-29  9:14     ` Govindapillai, Vinod
2025-01-28 15:54 ` [PATCH v5 5/7] drm/i915/xe3: avoid calling fbc activate if fbc is active Vinod Govindapillai
2025-01-28 15:54 ` [PATCH v5 6/7] drm/i915/xe3: dirty rect support for FBC Vinod Govindapillai
2025-01-28 15:54 ` [PATCH v5 7/7] drm/i915/xe3: disable FBC if PSR2 selective fetch is enabled Vinod Govindapillai
2025-01-28 17:27 ` ✓ CI.Patch_applied: success for drm/i915/xe3: FBC Dirty rect feature support (rev6) Patchwork
2025-01-28 17:27 ` ✗ CI.checkpatch: warning " Patchwork
2025-01-28 17:28 ` ✓ CI.KUnit: success " Patchwork
2025-01-28 17:45 ` ✓ CI.Build: " Patchwork
2025-01-28 17:47 ` ✗ CI.Hooks: failure " Patchwork
2025-01-28 17:48 ` ✗ CI.checksparse: warning " Patchwork
2025-01-28 18:11 ` ✓ Xe.CI.BAT: success " Patchwork
2025-01-29  6:38 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox