[PATCH 00/22] drm/i915: Add support for FBs with a POT aligned stride restriction

Imre Deak imre.deak at intel.com
Wed Mar 10 10:07:25 UTC 2021


Add support for FBs which require a remapped view due to a power-of-two
alignment restriction of FB stride.

Imre Deak (22):
  drm/i915/selftest: Fix error handling in igt_vma_remapped_gtt()
  drm/i915/selftest: Fix debug message in igt_vma_remapped_gtt()
  drm/i915: Make sure i915_ggtt_view is inited when creating an FB
  drm/i915/selftest: Make sure to init i915_ggtt_view in
    igt_vma_rotate_remap()
  drm/i915: Remove duplicate intel_surf_alignment() declaration
  drm/i915/intel_fb: Pull FB plane functions from intel_display_types.h
  drm/i915/intel_fb: Pull FB plane functions from skl_universal_plane.c
  drm/i915/intel_fb: Pull is_surface_linear() from
    intel_display.c/skl_universal_plane.c
  drm/i915/intel_fb: Pull FB plane functions from intel_sprite.c
  drm/i915/intel_fb: Pull FB plane functions from intel_display.c
  drm/i915/intel_fb: Unexport intel_fb_check_stride()
  drm/i915/intel_fb: Rename dev_priv to i915
  drm/i915/intel_fb: Factor out convert_plane_offset_to_xy()
  drm/i915/intel_fb: Factor out calc_plane_aligned_offset()
  drm/i915/intel_fb: Factor out calc_plane_normal_size()
  drm/i915/intel_fb: Factor out plane_calc_remap_info()
  drm/i915: Shrink struct intel_remapped_plane_info
  drm/i915/selftest: Unify use of intel_remapped_plane_info in
    igt_vma_rotate_remap()
  drm/i915: Rename stride to src_stride in intel_remapped_plane_info
  drm/i915: Add support for FBs requiring a POT stride alignment
  drm/i915/selftest: Add remap/rotate vma subtests when
    dst_stride!=width/height
  drm/i915: for-CI: force remapping the FB with a POT aligned stride

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/i9xx_plane.c     |   1 +
 drivers/gpu/drm/i915/display/intel_cursor.c   |   1 +
 drivers/gpu/drm/i915/display/intel_display.c  | 827 +--------------
 drivers/gpu/drm/i915/display/intel_display.h  |  19 -
 .../drm/i915/display/intel_display_types.h    |  32 +-
 drivers/gpu/drm/i915/display/intel_fb.c       | 994 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_fb.h       |  56 +
 drivers/gpu/drm/i915/display/intel_sprite.c   |  32 -
 drivers/gpu/drm/i915/display/intel_sprite.h   |   1 -
 .../drm/i915/display/skl_universal_plane.c    |  41 +-
 .../drm/i915/display/skl_universal_plane.h    |   2 -
 drivers/gpu/drm/i915/gt/intel_ggtt.c          |  58 +-
 drivers/gpu/drm/i915/i915_debugfs.c           |  16 +-
 drivers/gpu/drm/i915/i915_vma_types.h         |  12 +-
 drivers/gpu/drm/i915/selftests/i915_vma.c     | 217 ++--
 16 files changed, 1289 insertions(+), 1021 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_fb.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_fb.h

-- 
2.25.1



More information about the Intel-gfx-trybot mailing list