summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/display
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2026-05-08 17:34:24 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2026-05-11 17:43:25 +0300
commiteadbb52a178147efe7fdbbb906e0767b5fe8a5b8 (patch)
treec3b153e75a84de05c6866fdb9f9b58313ab82379 /drivers/gpu/drm/xe/display
parentf225861a0feee6acd5c303ff3fa8566ae2876ccf (diff)
downloadlwn-eadbb52a178147efe7fdbbb906e0767b5fe8a5b8.tar.gz
lwn-eadbb52a178147efe7fdbbb906e0767b5fe8a5b8.zip
drm/i915/fbdev: Use intel_parent_fb_pin_ggtt_(un)pin()
Replace the intel_fb_pin_to_ggtt() and intel_fb_unpin_vma() with the new abstract parent interface (intel_parent_fb_pin_ggtt_(un)pin()). xe no longer needs intel_fb_unpin_vma(), and in i915 it now becomes and internal function to i915_fb_pin. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20260508143426.26504-15-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/display')
-rw-r--r--drivers/gpu/drm/xe/display/xe_fb_pin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/xe/display/xe_fb_pin.c b/drivers/gpu/drm/xe/display/xe_fb_pin.c
index a8f8d639e7d6..496715b62e1d 100644
--- a/drivers/gpu/drm/xe/display/xe_fb_pin.c
+++ b/drivers/gpu/drm/xe/display/xe_fb_pin.c
@@ -423,11 +423,6 @@ intel_fb_pin_to_ggtt(struct drm_gem_object *obj,
return __xe_pin_fb_vma(obj, false, pin_params);
}
-void intel_fb_unpin_vma(struct i915_vma *vma, int fence_id)
-{
- __xe_unpin_fb_vma(vma);
-}
-
static int xe_fb_pin_ggtt_pin(struct drm_gem_object *obj,
const struct intel_fb_pin_params *pin_params,
struct i915_vma **out_ggtt_vma,