Skip to content

drm/i915/fb: Prep work for more generic remapping support

Ville Syrjala intel-gfx intel-xe 1 version Applied

Status from this message: I merged all those to get intel_fb.c into shape.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 16 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12drm/i915/fb: Nuke intel_tile_row_size()drivers/gpu/drm/i915/display/intel_fb.c drivers/gpu/drm/i915/display/intel_fb.h+0 -101 reply
2/12drm/i915/fb: Make intel_fb_needs_pot_stride_remap() staticdrivers/gpu/drm/i915/display/intel_fb.c drivers/gpu/drm/i915/display/intel_fb.h+1 -21 reply
3/12drm/i915/fb: Reject per-plane remapping with DPTdrivers/gpu/drm/i915/display/intel_fb.c+4 -01 reply
4/12drm/xe/fb: Use the correct gtt view for remapped FBsdrivers/gpu/drm/xe/display/xe_fb_pin.c+1 -11 reply
5/12drm/xe/fb: Remove weird VMA end alignemntdrivers/gpu/drm/xe/display/xe_fb_pin.c+1 -21 reply
6/12drm/xe/fb: Extract xe_dpt_size()drivers/gpu/drm/xe/display/xe_fb_pin.c+18 -121 reply
7/12drm/i915/vma: Add helpers to check GTT view typedrivers/gpu/drm/i915/i915_gtt_view_types.h+15 -02 replies
8/12drm/xe/fb: Use i915_gtt_view_is_*()drivers/gpu/drm/xe/display/xe_fb_pin.c+7 -71 reply
9/12drm/i915/fb: Use i915_gtt_view_is_*()drivers/gpu/drm/i915/display/intel_fb.c+4 -41 reply
10/12drm/i915/selftests: Eliminate duplicate vma size checkdrivers/gpu/drm/i915/selftests/i915_vma.c+1 -92 replies
11/12drm/i915/selftests: Use i915_gtt_view_is_*()drivers/gpu/drm/i915/selftests/i915_vma.c+11 -122 replies
12/12drm/i915/fb: Use intel_fb_needs_pot_stride_remap() in intel_fb_view_init()drivers/gpu/drm/i915/display/intel_fb.c+12 -71 reply

Reviews trailers per patch

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

PatchJani Nikula
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

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

Read the v1 thread

Cover letter [PATCH 00/12] drm/i915/fb: Prep work for more generic remapping support

From: Ville Syrjälä <[email protected]>

I had a quick look at implementing tile64/Ys support.
https://github.com/vsyrjala/linux.git remap_tile_ys_64 is the result.

I think I want the whole generic remap thing from there even if we don't end up adding the actual tile64/Ys support. So here is an extract of some prep work from that branch, though I didn't include the generic remap thing itself yet.

Ville Syrjälä (12):
drm/i915/fb: Nuke intel_tile_row_size() drm/i915/fb: Make intel_fb_needs_pot_stride_remap() static drm/i915/fb: Reject per-plane remapping with DPT drm/xe/fb: Use the correct gtt view for remapped FBs drm/xe/fb: Remove weird VMA end alignemnt drm/xe/fb: Extract xe_dpt_size()
drm/i915/vma: Add helpers to check GTT view type drm/xe/fb: Use i915_gtt_view_is_*()
drm/i915/fb: Use i915_gtt_view_is_*() drm/i915/selftests: Eliminate duplicate vma size check drm/i915/selftests: Use i915_gtt_view_is_*() drm/i915/fb: Use intel_fb_needs_pot_stride_remap() in
intel_fb_view_init()

 drivers/gpu/drm/i915/display/intel_fb.c    | 42 ++++++++++-----------
 drivers/gpu/drm/i915/display/intel_fb.h    |  2 -
 drivers/gpu/drm/i915/i915_gtt_view_types.h | 15 ++++++++
 drivers/gpu/drm/i915/selftests/i915_vma.c  | 33 ++++++-----------
 drivers/gpu/drm/xe/display/xe_fb_pin.c     | 43 ++++++++++++----------
 5 files changed, 72 insertions(+), 63 deletions(-)
Signature · 1 line
2.52.0