Skip to content

drm/i915: Further initial fb cleanups

Ville Syrjala intel-gfx intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915: Clear plane_config->fb pointer when donedrivers/gpu/drm/i915/display/intel_initial_plane.c+2 -00 replies
2/7drm/i915: Don't pass the vma to parent->initial_plane->setup()drivers/gpu/drm/i915/display/intel_initial_plane.c drivers/gpu/drm/i915/i915_initial_plane.c drivers/gpu/drm/xe/display/xe_initial_plane.c +1 more+10 -90 replies
3/7drm/i915: Return just the 'fb' from intel_reuse_initial_plane_obj()drivers/gpu/drm/i915/display/intel_initial_plane.c+6 -100 replies
4/7drm/i915: Simplify intel_reuse_initial_plane_fb()drivers/gpu/drm/i915/display/intel_initial_plane.c+1 -60 replies
5/7drm/i915: Move the BIOS FB intel_framebuffer_init() to the display codedrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_initial_plane.c drivers/gpu/drm/i915/i915_initial_plane.c +2 more+51 -1010 replies
6/7drm/i915: Use intel_parent_fb_pin_ggtt_pin() for BIOS FB pindrivers/gpu/drm/i915/display/intel_initial_plane.c drivers/gpu/drm/i915/i915_initial_plane.c drivers/gpu/drm/xe/display/xe_fb_pin.c +3 more+28 -700 replies
7/7drm/i915: s/dev_priv/i915/ in the initial fb .setup()drivers/gpu/drm/i915/i915_initial_plane.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] drm/i915: Further initial fb cleanups

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

Try to clean up most of the remaining mess in the initial FB readout/pinning code. This simplifies the parent interface, moves more display specific stuff to the display side of the driver split, and reduces the amount of state we need to drag across the border.

Ville Syrjälä (7):
drm/i915: Clear plane_config->fb pointer when done drm/i915: Don't pass the vma to parent->initial_plane->setup() drm/i915: Return just the 'fb' from intel_reuse_initial_plane_obj() drm/i915: Simplify intel_reuse_initial_plane_fb() drm/i915: Move the BIOS FB intel_framebuffer_init() to the display
code
drm/i915: Use intel_parent_fb_pin_ggtt_pin() for BIOS FB pin drm/i915: s/dev_priv/i915/ in the initial fb .setup()

 .../drm/i915/display/intel_display_types.h    |  1 -
 .../drm/i915/display/intel_initial_plane.c    | 89 ++++++++++++-------
 drivers/gpu/drm/i915/i915_initial_plane.c     | 79 ++++------------
 drivers/gpu/drm/xe/display/xe_fb_pin.c        | 10 +--
 drivers/gpu/drm/xe/display/xe_fb_pin.h        | 12 ---
 drivers/gpu/drm/xe/display/xe_initial_plane.c | 76 ++--------------
 include/drm/intel/display_parent_interface.h  |  7 +-
 7 files changed, 88 insertions(+), 186 deletions(-)
Signature · 1 line
2.54.0