diff options
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_execbuf_util.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_execbuf_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_execbuf_util.c b/drivers/gpu/drm/ttm/ttm_execbuf_util.c index e73ae0d22897..e493edb0d3e7 100644 --- a/drivers/gpu/drm/ttm/ttm_execbuf_util.c +++ b/drivers/gpu/drm/ttm/ttm_execbuf_util.c | |||
@@ -129,7 +129,7 @@ int ttm_eu_reserve_buffers(struct ww_acquire_ctx *ticket, | |||
129 | if (!entry->shared) | 129 | if (!entry->shared) |
130 | continue; | 130 | continue; |
131 | 131 | ||
132 | ret = reservation_object_reserve_shared(bo->resv); | 132 | ret = reservation_object_reserve_shared(bo->resv, 1); |
133 | if (!ret) | 133 | if (!ret) |
134 | continue; | 134 | continue; |
135 | } | 135 | } |
@@ -151,7 +151,7 @@ int ttm_eu_reserve_buffers(struct ww_acquire_ctx *ticket, | |||
151 | } | 151 | } |
152 | 152 | ||
153 | if (!ret && entry->shared) | 153 | if (!ret && entry->shared) |
154 | ret = reservation_object_reserve_shared(bo->resv); | 154 | ret = reservation_object_reserve_shared(bo->resv, 1); |
155 | 155 | ||
156 | if (unlikely(ret != 0)) { | 156 | if (unlikely(ret != 0)) { |
157 | if (ret == -EINTR) | 157 | if (ret == -EINTR) |