Skip to content

Fixes for selective fetch area calculation

Jouni Högander intel-gfx 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/23 patches 3 repliesIn review
  2. v5 Latest2 patches 1 replyIn review
  3. v42 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches3 repliesSuperseded
v2 posting 1/22 patches2 repliesSuperseded
v13 patches3 repliesSuperseded

Changes in v5 from the cover letter

- pipeA -> "pipe %c", pipe_name(crtc-pipe)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/psr: Use full update In case of area calculation failsdrivers/gpu/drm/i915/display/intel_psr.c+14 -01 reply
2/2drm/i915: Ensure damage clip area is within pipe areadrivers/gpu/drm/i915/display/intel_psr.c+16 -70 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJosé Roberto de Souza
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [Intel-gfx] [PATCH v5 0/2] Fixes for selective fetch area calculation

Currently selective fetch area calculation ends up as bogus area in at least following cases:

1. Updated plane is partially or fully outside pipe area
2. Big fb with only part of memory area used for plane

These end up as y1 = 0, y2 = 4 or y2 being outside pipe area. This patch set addresses these by ensuring update area is within pipe area or by falling back to full update.

v5:
- pipeA -> "pipe %c", pipe_name(crtc-pipe)
v4:
- draw_area -> pipe_src
- drm_dbg_once dropped and drm_info_once used instead
v3:
- Add drm_dbg_once* and use it when sel fetch area calculation fails
- Move drm_rect_intersect to clip_area_update
v2:
- Update commit message of first patch
- Set damaged_area x1 and x2 during initialization

Cc José Roberto de Souza <[email protected]>
Cc Mika Kahola <[email protected]>
Cc Mark Pearson <[email protected]>

Jouni Högander (2):
drm/i915/psr: Use full update In case of area calculation fails drm/i915: Ensure damage clip area is within pipe area

 drivers/gpu/drm/i915/display/intel_psr.c | 37 +++++++++++++++++++-----
 1 file changed, 30 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1