Message ID | 20211017234106.2412994-4-airlied@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | finish/rebase fbdev pin refactor. | expand |
On Mon, Oct 18, 2021 at 09:41:05AM +1000, Dave Airlie wrote: > From: Dave Airlie <airlied@redhat.com> > > The uses_fence isn't used. > > Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > --- > drivers/gpu/drm/i915/display/intel_fb_pin.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_fb_pin.c b/drivers/gpu/drm/i915/display/intel_fb_pin.c > index 0beb0aa33337..721a1477e8b1 100644 > --- a/drivers/gpu/drm/i915/display/intel_fb_pin.c > +++ b/drivers/gpu/drm/i915/display/intel_fb_pin.c > @@ -18,7 +18,6 @@ > static struct i915_vma * > intel_pin_fb_obj_dpt(struct drm_framebuffer *fb, > const struct i915_ggtt_view *view, > - bool uses_fence, > unsigned long *out_flags, > struct i915_address_space *vm) > { > @@ -236,7 +235,7 @@ int intel_plane_pin_fb(struct intel_plane_state *plane_state) > > plane_state->ggtt_vma = vma; > > - vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, false, > + vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, > &plane_state->flags, intel_fb->dpt_vm); > if (IS_ERR(vma)) { > intel_dpt_unpin(intel_fb->dpt_vm); > -- > 2.25.4
diff --git a/drivers/gpu/drm/i915/display/intel_fb_pin.c b/drivers/gpu/drm/i915/display/intel_fb_pin.c index 0beb0aa33337..721a1477e8b1 100644 --- a/drivers/gpu/drm/i915/display/intel_fb_pin.c +++ b/drivers/gpu/drm/i915/display/intel_fb_pin.c @@ -18,7 +18,6 @@ static struct i915_vma * intel_pin_fb_obj_dpt(struct drm_framebuffer *fb, const struct i915_ggtt_view *view, - bool uses_fence, unsigned long *out_flags, struct i915_address_space *vm) { @@ -236,7 +235,7 @@ int intel_plane_pin_fb(struct intel_plane_state *plane_state) plane_state->ggtt_vma = vma; - vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, false, + vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, &plane_state->flags, intel_fb->dpt_vm); if (IS_ERR(vma)) { intel_dpt_unpin(intel_fb->dpt_vm);