[PATCH v2 0/6] drm/i915: Precompute plane SURF address/etc.
Ville Syrjala
ville.syrjala at linux.intel.com
Wed Apr 2 17:22:34 UTC 2025
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Include a precomputed plane SURF address in the plane state,
so that all the vma stuff is contained in the *_fb_pin.c code.
Additionally we can also now easily include the SURF address in
some of the plane tracepoints to aid in eg. analyzing faults.
v2: Drop the plane_state->ctl stuff for now, and also
drop the tracepoint changes as well sinec they depend
on it
Ville Syrjälä (6):
drm/i915: Precompute plane SURF address
drm/i915: Nuke intel_plane_ggtt_offset()
drm/i915: Move the intel_dpt_offset() check into intel_plane_pin_fb()
drm/i915: Use i915_vma_offset() in intel_dpt_offset()
drm/i915: Remove unused dpt_total_entries()
drm/i915: Don't pass crtc_state to foo_plane_ctl() & co.
drivers/gpu/drm/i915/display/i9xx_plane.c | 58 +++++++++----------
drivers/gpu/drm/i915/display/i9xx_plane.h | 1 +
.../gpu/drm/i915/display/intel_atomic_plane.c | 5 --
.../gpu/drm/i915/display/intel_atomic_plane.h | 2 -
drivers/gpu/drm/i915/display/intel_cursor.c | 28 ++++-----
.../drm/i915/display/intel_display_types.h | 5 +-
drivers/gpu/drm/i915/display/intel_dpt.c | 4 +-
drivers/gpu/drm/i915/display/intel_fb_pin.c | 34 +++++++----
.../drm/i915/display/intel_plane_initial.c | 2 +
drivers/gpu/drm/i915/display/intel_sprite.c | 51 +++++++---------
.../drm/i915/display/skl_universal_plane.c | 58 ++++++++-----------
drivers/gpu/drm/xe/display/xe_fb_pin.c | 5 ++
drivers/gpu/drm/xe/display/xe_plane_initial.c | 4 ++
13 files changed, 123 insertions(+), 134 deletions(-)
--
2.45.3
More information about the Intel-gfx
mailing list