Commit 8146d588 authored by Niranjana Vishwanathapura's avatar Niranjana Vishwanathapura Committed by Rodrigo Vivi

drm/i915: Remove unused function parameter

The function parameter 'exclude' in funciton
i915_sw_fence_await_reservation() is not used.
Remove it.
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: default avatarNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220922213916.12112-1-niranjana.vishwanathapura@intel.com
parent 944ca7d8
...@@ -1005,7 +1005,7 @@ intel_prepare_plane_fb(struct drm_plane *_plane, ...@@ -1005,7 +1005,7 @@ intel_prepare_plane_fb(struct drm_plane *_plane,
*/ */
if (intel_crtc_needs_modeset(crtc_state)) { if (intel_crtc_needs_modeset(crtc_state)) {
ret = i915_sw_fence_await_reservation(&state->commit_ready, ret = i915_sw_fence_await_reservation(&state->commit_ready,
old_obj->base.resv, NULL, old_obj->base.resv,
false, 0, false, 0,
GFP_KERNEL); GFP_KERNEL);
if (ret < 0) if (ret < 0)
...@@ -1039,8 +1039,7 @@ intel_prepare_plane_fb(struct drm_plane *_plane, ...@@ -1039,8 +1039,7 @@ intel_prepare_plane_fb(struct drm_plane *_plane,
struct dma_fence *fence; struct dma_fence *fence;
ret = i915_sw_fence_await_reservation(&state->commit_ready, ret = i915_sw_fence_await_reservation(&state->commit_ready,
obj->base.resv, NULL, obj->base.resv, false,
false,
i915_fence_timeout(dev_priv), i915_fence_timeout(dev_priv),
GFP_KERNEL); GFP_KERNEL);
if (ret < 0) if (ret < 0)
......
...@@ -113,7 +113,7 @@ bool i915_gem_clflush_object(struct drm_i915_gem_object *obj, ...@@ -113,7 +113,7 @@ bool i915_gem_clflush_object(struct drm_i915_gem_object *obj,
clflush = clflush_work_create(obj); clflush = clflush_work_create(obj);
if (clflush) { if (clflush) {
i915_sw_fence_await_reservation(&clflush->base.chain, i915_sw_fence_await_reservation(&clflush->base.chain,
obj->base.resv, NULL, true, obj->base.resv, true,
i915_fence_timeout(i915), i915_fence_timeout(i915),
I915_FENCE_GFP); I915_FENCE_GFP);
dma_resv_add_fence(obj->base.resv, &clflush->base.dma, dma_resv_add_fence(obj->base.resv, &clflush->base.dma,
......
...@@ -571,7 +571,6 @@ int __i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence, ...@@ -571,7 +571,6 @@ int __i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence,
int i915_sw_fence_await_reservation(struct i915_sw_fence *fence, int i915_sw_fence_await_reservation(struct i915_sw_fence *fence,
struct dma_resv *resv, struct dma_resv *resv,
const struct dma_fence_ops *exclude,
bool write, bool write,
unsigned long timeout, unsigned long timeout,
gfp_t gfp) gfp_t gfp)
......
...@@ -91,7 +91,6 @@ int i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence, ...@@ -91,7 +91,6 @@ int i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence,
int i915_sw_fence_await_reservation(struct i915_sw_fence *fence, int i915_sw_fence_await_reservation(struct i915_sw_fence *fence,
struct dma_resv *resv, struct dma_resv *resv,
const struct dma_fence_ops *exclude,
bool write, bool write,
unsigned long timeout, unsigned long timeout,
gfp_t gfp); gfp_t gfp);
......
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