File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,6 @@ static void fence_set_priority(struct dma_fence *fence,
106106 rcu_read_unlock ();
107107}
108108
109- static inline bool __dma_fence_is_chain (const struct dma_fence * fence )
110- {
111- return fence -> ops == & dma_fence_chain_ops ;
112- }
113-
114109void i915_gem_fence_wait_priority (struct dma_fence * fence ,
115110 const struct i915_sched_attr * attr )
116111{
@@ -126,7 +121,7 @@ void i915_gem_fence_wait_priority(struct dma_fence *fence,
126121
127122 for (i = 0 ; i < array -> num_fences ; i ++ )
128123 fence_set_priority (array -> fences [i ], attr );
129- } else if (__dma_fence_is_chain (fence )) {
124+ } else if (dma_fence_is_chain (fence )) {
130125 struct dma_fence * iter ;
131126
132127 /* The chain is ordered; if we boost the last, we boost all */
You can’t perform that action at this time.
0 commit comments