Re: drm/syncobj: flatten dma_fence_chains on transfer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux