]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/overlay: Abstract buffer (un)pinning
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Feb 2026 10:07:30 +0000 (12:07 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Feb 2026 08:41:35 +0000 (10:41 +0200)
commitc5649ff6e898456fe30693ce4c38c77b1b728b12
tree6bee739c45a5a5fb37131efba7bd4c8e819f73df
parentdc1d78b6198822f7fbda273a0beb5236d6dc5989
drm/i915/overlay: Abstract buffer (un)pinning

Make the buffer (un)pinning a bit more abstract so that
the display side of the code doesn't need to know about i915
specific things (i915_ggtt_offset() and i915_vma_unpin()).

In preparation for the full parent vs. display driver split
we'll also pass in the drm_device to these functions, although
not strictly needed yet.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260226100738.29997-12-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_overlay.c