search for: syncval

Displaying 2 results from an estimated 2 matches for "syncval".

2018 Jan 11
0
[PATCH 1/3] gpu: host1x: Add support for DMA fences
...annel); + } else { + err = dma_fence_wait(job->prefence, true); + if (err) + goto error; + } + } + /* get submit lock */ err = mutex_lock_interruptible(&ch->submitlock); if (err) @@ -151,12 +178,6 @@ static int channel_submit(struct host1x_job *job) job->syncpt_end = syncval; - /* add a setclass for modules that require it */ - if (job->class) - host1x_cdma_push(&ch->cdma, - host1x_opcode_setclass(job->class, 0, 0), - HOST1X_OPCODE_NOP); - submit_gathers(job); /* end CDMA submit & stash pinned hMems into sync queue */ @@ -212,4 +233,5...
2018 Jan 11
6
[PATCH 0/3] drm/tegra: Add support for fence FDs
From: Thierry Reding <treding at nvidia.com> This set of patches adds support for fences to Tegra DRM and complements the fence FD support for Nouveau. Technically this isn't necessary for a fence-based synchronization loop with Nouveau because the KMS core takes care of all that, but engines behind host1x can use the IOCTL extensions provided here to emit fence FDs that in turn can be