Skip to contentSkip to conversation

drm-sync timeline signaling

DISCUSSION Lionel Landwerlin 2 participants 4 messages May 16, 2019 – May 21, 2019

lore
Share & tools
lore
#0 lore raw

Hi all,

While picking up the IGT tests for timeline syncobj,
I noticed that although we deal with multi wait across both timeline (with point value > 0) and binary (point value = 0) syncobjs, we don't seem to have a similar behavior with signaling.

Do you have any thought on this?
I'm considering writing some docs but I'm not quite sure whether this difference between signaling/waiting was intentional or just overlooked.

Thanks,

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

#1 lore raw

Ping?

Quoted 9 lines · Lionel Landwerlin

Hi all,

While picking up the IGT tests for timeline syncobj,
I noticed that although we deal with multi wait across both timeline (with point value > 0) and binary (point value = 0) syncobjs, we don't seem to have a similar behavior with signaling.

Do you have any thought on this?
I'm considering writing some docs but I'm not quite sure whether this difference between signaling/waiting was intentional or just overlooked.

Quoted 7 lines

Thanks,

-Lionel
_______________________________________________
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

#2 lore raw

Sorry for late response.

Although we don't expect that, drm_syncobj_timeline_signal_ioctl already handle this case I think. Which can handle both (point value > 0) and (point value = 0).

-David

Quoted 25 lines · Lionel Landwerlin

[CAUTION: External Email]

Ping?

Quoted 18 lines · Lionel Landwerlin

Hi all,

While picking up the IGT tests for timeline syncobj,
I noticed that although we deal with multi wait across both timeline (with point value > 0) and binary (point value = 0) syncobjs, we don't seem to have a similar behavior with signaling.

Do you have any thought on this?
I'm considering writing some docs but I'm not quite sure whether this difference between signaling/waiting was intentional or just overlooked.

Thanks,

-Lionel
_______________________________________________
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

#3 lore raw

Thanks David,

Initially I thought we could run into wait issues with a dma_fence_chain with a value = 0, but you're right, it works fine.

We could just avoid to create a dma_fence_chain object, but maybe we don't care.

-Lionel

Quoted 36 lines · On 21/05/2019 09:51, zhoucm1 wrote:

Sorry for late response.

Although we don't expect that, drm_syncobj_timeline_signal_ioctl already handle this case I think. Which can handle both (point value > 0) and (point value = 0).

-David

Quoted 25 lines · Lionel Landwerlin

[CAUTION: External Email]

Ping?

Quoted 18 lines · Lionel Landwerlin

Hi all,

While picking up the IGT tests for timeline syncobj,
I noticed that although we deal with multi wait across both timeline (with point value > 0) and binary (point value = 0) syncobjs, we don't seem to have a similar behavior with signaling.

Do you have any thought on this?
I'm considering writing some docs but I'm not quite sure whether this difference between signaling/waiting was intentional or just overlooked.

Thanks,

-Lionel
_______________________________________________
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