drm/syncobj: flatten dma_fence_chains on transfer

Christian König christian.koenig at amd.com
Wed Jul 6 10:47:15 UTC 2022


Hi Jesse,

not sure how you created this, but usually we use "git send-email" to 
send out patches. That one here looks kind of mangled.

Additional to that this is most likely not the right place for the call.

Regards,
Christian.

Am 06.07.22 um 12:41 schrieb Zhang, Jesse(Jie):
>
> [AMD Official Use Only - General]
>
>
> Fix sync syncobj issue by enable the signaling of the base fence.
>
> diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c
>
> index d5db818f1c76..971ad97a2f54 100644
>
> --- a/drivers/gpu/drm/drm_syncobj.c
>
> +++ b/drivers/gpu/drm/drm_syncobj.c
>
> @@ -887,6 +887,7 @@ static int drm_syncobj_flatten_chain(struct 
> dma_fence **f)
>
>                 goto free_fences;
>
>         dma_fence_put(*f);
>
> + dma_fence_enable_sw_signaling(&array->base);
>
>         *f = array->fences[0];
>
>         return 0;
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220706/3a2ac9ad/attachment-0001.htm>


More information about the dri-devel mailing list