Commit c22a814b authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Drop 'uses_fence' parameter from intel_pin_fb_obj_dpt()

Fence regions are only relevant for GGTT, not DPT. Drop the
pointless 'uses_fence' argument from intel_pin_fb_obj_dpt().
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240506125718.26001-4-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 1301ce34
...@@ -20,7 +20,6 @@ static struct i915_vma * ...@@ -20,7 +20,6 @@ static struct i915_vma *
intel_pin_fb_obj_dpt(struct drm_framebuffer *fb, intel_pin_fb_obj_dpt(struct drm_framebuffer *fb,
const struct i915_gtt_view *view, const struct i915_gtt_view *view,
unsigned int alignment, unsigned int alignment,
bool uses_fence,
unsigned long *out_flags, unsigned long *out_flags,
struct i915_address_space *vm) struct i915_address_space *vm)
{ {
...@@ -274,8 +273,8 @@ int intel_plane_pin_fb(struct intel_plane_state *plane_state) ...@@ -274,8 +273,8 @@ int intel_plane_pin_fb(struct intel_plane_state *plane_state)
plane_state->ggtt_vma = vma; plane_state->ggtt_vma = vma;
vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt,
alignment, false, alignment, &plane_state->flags,
&plane_state->flags, intel_fb->dpt_vm); intel_fb->dpt_vm);
if (IS_ERR(vma)) { if (IS_ERR(vma)) {
intel_dpt_unpin(intel_fb->dpt_vm); intel_dpt_unpin(intel_fb->dpt_vm);
plane_state->ggtt_vma = NULL; plane_state->ggtt_vma = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment