dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915: fix broken build
@ 2022-04-07 16:45 Matthew Auld
  2022-04-07 16:45 ` [PATCH 2/2] drm/i915: fix i915_gem_object_wait_moving_fence Matthew Auld
  2022-04-07 16:49 ` [PATCH 1/2] drm/i915: fix broken build Christian König
  0 siblings, 2 replies; 13+ messages in thread
From: Matthew Auld @ 2022-04-07 16:45 UTC (permalink / raw)
  To: intel-gfx; +Cc: Daniel Vetter, Christian König, dri-devel

I guess this was missed in the conversion or something.

Fixes: 7bc80a5462c3 ("dma-buf: add enum dma_resv_usage v4")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/i915_deps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_deps.c b/drivers/gpu/drm/i915/i915_deps.c
index 999210b37325..297b8e4e42ee 100644
--- a/drivers/gpu/drm/i915/i915_deps.c
+++ b/drivers/gpu/drm/i915/i915_deps.c
@@ -226,7 +226,7 @@ int i915_deps_add_resv(struct i915_deps *deps, struct dma_resv *resv,
 	struct dma_fence *fence;
 
 	dma_resv_assert_held(resv);
-	dma_resv_for_each_fence(&iter, resv, true, fence) {
+	dma_resv_for_each_fence(&iter, resv, dma_resv_usage_rw(true), fence) {
 		int ret = i915_deps_add_dependency(deps, fence, ctx);
 
 		if (ret)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-04-08  9:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-07 16:45 [PATCH 1/2] drm/i915: fix broken build Matthew Auld
2022-04-07 16:45 ` [PATCH 2/2] drm/i915: fix i915_gem_object_wait_moving_fence Matthew Auld
2022-04-08  1:44   ` [Intel-gfx] " Lucas De Marchi
2022-04-08  5:00   ` Lucas De Marchi
2022-04-08  8:13     ` Matthew Auld
2022-04-08  9:08   ` Tvrtko Ursulin
2022-04-08  9:12     ` Christian König
2022-04-08  9:23       ` Tvrtko Ursulin
2022-04-08  9:29         ` Christian König
2022-04-07 16:49 ` [PATCH 1/2] drm/i915: fix broken build Christian König
2022-04-07 17:07   ` Matthew Auld
2022-04-08  8:32   ` Matthew Auld
2022-04-08  8:45     ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).