-devel@lists.freedesktop.org
Subject: Re: reservation questions
e.g. the excl fence is with the same ctx (but later) of the one in shared list.
Well it's not on the same context, but it is guaranteed to not complete before
all shared fences.
See for example how it is used in amdgpu_copy_b
oenig, Christian
*Sent:* Tuesday, March 6, 2018 7:11:50 PM
*To:* Liu, Monk
*Cc:* dri-devel@lists.freedesktop.org; Chris Wilson
*Subject:* Re: reservation questions
Hi Monk,
your check isn't correct because you still haven't understood the
semantics here.
the assumption that all shared
From: Koenig, Christian
Sent: Tuesday, March 6, 2018 7:11:50 PM
To: Liu, Monk
Cc: dri-devel@lists.freedesktop.org; Chris Wilson
Subject: Re: reservation questions
Hi Monk,
your check isn't correct because you still haven't understood the semantics
g, Christian; Chris Wilson; dri-devel@lists.freedesktop.org
*Subject:* Re: reservation questions
ok, that's good point ...
*From:* Koenig, Christian
*Sent:* Tuesday, March 6, 2018 6:42:44 PM
*To:* Liu, Monk; Chris Wilson; dri
ay, March 6, 2018 6:47 PM
To: Koenig, Christian; Chris Wilson; dri-devel@lists.freedesktop.org
Subject: Re: reservation questions
ok, that's good point ...
From: Koenig, Christian
Sent: Tuesday, March 6, 2018 6:42:44 PM
To: Liu, Monk; Chris Wilson; dri-
ok, that's good point ...
From: Koenig, Christian
Sent: Tuesday, March 6, 2018 6:42:44 PM
To: Liu, Monk; Chris Wilson; dri-devel@lists.freedesktop.org
Subject: Re: reservation questions
Hi Monk,
that is to remove the problem that allocating memory could
vation_object_add_shared_fence);
*From:* Chris Wilson
*Sent:* Tuesday, March 6, 2018 6:10:21 PM
*To:* Liu, Monk; dri-devel@lists.freedesktop.org; Koenig, Christian
*Subject:* Re: reservation questions
Quoting Liu, Monk (2018-03-06 09:45:19)
> call reserv
Chris Wilson
; Koenig, Christian
*Subject:* Re: reservation questions
sorry, I have some mistake in previous thread, correct it as followings.
1) considering below sequence:
call reservation_object_add_shared_fence,
now assume old->shared_count is now 3
call reservation_object_add_shared_fen
2018 6:10:21 PM
To: Liu, Monk; dri-devel@lists.freedesktop.org; Koenig, Christian
Subject: Re: reservation questions
Quoting Liu, Monk (2018-03-06 09:45:19)
> call reservation_object_add_excl_fence,
> it set obj->fence->shared_count to 0, and put all shared fence from obj->fence
>
_
From: Koenig, Christian
Sent: Tuesday, March 6, 2018 6:05:27 PM
To: Liu, Monk; dri-devel@lists.freedesktop.org; Chris Wilson
Subject: Re: reservation questions
Am 06.03.2018 um 10:56 schrieb Liu, Monk:
sorry, I have some mistake in previous thread, correct it as followings.
1) considering below s
Quoting Liu, Monk (2018-03-06 09:45:19)
> call reservation_object_add_excl_fence,
> it set obj->fence->shared_count to 0, and put all shared fence from obj->fence
> without waiting signaling.
> (this action looks inappropriate, I think at least before put all those shared
> fences
> we should dma_w
en we add an excl fence to resv, how to deal with shared ? current logic
is just put the all
do we need to wait on their signaling before putting them ?
thanks
/Monk
From: Liu, Monk
Sent: 2018年3月6日 17:57
To: dri-devel@lists.freedesktop.org; Chris Wilson ;
Koenig, Christian
Subject: Re: reservati
k
*
*
*From:* Liu, Monk
*Sent:* Tuesday, March 6, 2018 5:45:19 PM
*To:* dri-devel@lists.freedesktop.org; Chris Wilson; Koenig, Christian
*Subject:* reservation questions
Hi Christian & Chris
two question regarding resv:
e in
obj->fence is already put.
/Monk
From: Liu, Monk
Sent: Tuesday, March 6, 2018 5:45:19 PM
To: dri-devel@lists.freedesktop.org; Chris Wilson; Koenig, Christian
Subject: reservation questions
Hi Christian & Chris
two question regarding resv:
1)
Hi Christian & Chris
two question regarding resv:
1) considering below sequence:
call reservation_object_add_shared_fence,
now assume old->shared_count is now 3
call reservation_object_add_shared_fence,
now assume old->shared_count is now 4,
call reservation_object_reserve_shared,
now obj->stag
15 matches
Mail list logo