Skip to contentSkip to conversation

drm/v3d: fix broken build

PATCH In review Christian König 2 participants 2 messages Dec 5, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/v3d: fix broken build

I missed one case during the recent revert of the replace_fence interface change.

Fixes 0b258ed1a219 drm: revert "expand replace_fence to support timeline point v2"
---
 drivers/gpu/drm/v3d/v3d_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/v3d/v3d_gem.c +1 -1
index cb99e53f7607..05ca6319065e 100644
@@ -716,7 +716,7 @@ v3d_submit_tfu_ioctl(struct drm_device *dev, void *data,
 	/* Update the return sync object */
 	sync_out = drm_syncobj_find(file_priv, args->out_sync);
 	if (sync_out) {
-		drm_syncobj_replace_fence(sync_out, 0, sched_done_fence);
+		drm_syncobj_replace_fence(sync_out, sched_done_fence);
 		drm_syncobj_put(sync_out);
 	}
 	dma_fence_put(sched_done_fence);
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Christian König

I missed one case during the recent revert of the replace_fence interface change.

Fixes 0b258ed1a219 drm: revert "expand replace_fence to support timeline point v2"
Quoted 20 lines
---
 drivers/gpu/drm/v3d/v3d_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/v3d/v3d_gem.c +1 -2
index cb99e53f7607..05ca6319065e 100644
@@ -716,7 +716,7 @@ v3d_submit_tfu_ioctl(struct drm_device *dev, void *data,
        /* Update the return sync object */
        sync_out = drm_syncobj_find(file_priv, args->out_sync);
        if (sync_out) {
-               drm_syncobj_replace_fence(sync_out, 0, sched_done_fence);
+               drm_syncobj_replace_fence(sync_out, sched_done_fence);
                drm_syncobj_put(sync_out);
        }
        dma_fence_put(sched_done_fence);
--

2.17.1

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel