[CI 04/11] drm/i915: Use fence callback initialization helper
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Mon Feb 13 16:08:03 UTC 2023
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
...
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
drivers/gpu/drm/i915/i915_active.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_active.h b/drivers/gpu/drm/i915/i915_active.h
index 7eb44132183a..da0c5b917cb1 100644
--- a/drivers/gpu/drm/i915/i915_active.h
+++ b/drivers/gpu/drm/i915/i915_active.h
@@ -65,7 +65,7 @@ __i915_active_fence_init(struct i915_active_fence *active,
dma_fence_func_t fn)
{
RCU_INIT_POINTER(active->fence, fence);
- active->cb.func = fn ?: i915_active_noop;
+ __dma_fence_cb_init(&active->cb, fn ?: i915_active_noop);
}
#define INIT_ACTIVE_FENCE(A) \
--
2.34.1
More information about the Intel-gfx-trybot
mailing list