[PATCH 6/7] drm/radeon: allow asynchronous waiting on foreign fences

2014-09-04 Thread Maarten Lankhorst
Hey, Op 04-09-14 om 15:34 schreef Christian K?nig: >> I need to check the docs how to do this correctly, > The docs don't really cover this case. > > For the GPU waiting on an address there is an extra document just for this > case which I don't have at hand right now. But IIRC it was

[PATCH 6/7] drm/radeon: allow asynchronous waiting on foreign fences

2014-09-04 Thread Christian König
> I need to check the docs how to do this correctly, The docs don't really cover this case. For the GPU waiting on an address there is an extra document just for this case which I don't have at hand right now. But IIRC it was recommended to use the local memory of the device waiting on the

[PATCH 6/7] drm/radeon: allow asynchronous waiting on foreign fences

2014-09-04 Thread Christian König
Am 04.09.2014 um 14:08 schrieb Maarten Lankhorst: > Hey, > > Op 04-09-14 om 13:54 schreef Christian K?nig: >> Am 04.09.2014 um 13:42 schrieb Maarten Lankhorst: >>> Use the semaphore mechanism to make this happen, this uses signaling >>> from the cpu instead of signaling by the gpu. >> I'm not sure

[PATCH 6/7] drm/radeon: allow asynchronous waiting on foreign fences

2014-09-04 Thread Maarten Lankhorst
Hey, Op 04-09-14 om 13:54 schreef Christian K?nig: > Am 04.09.2014 um 13:42 schrieb Maarten Lankhorst: >> Use the semaphore mechanism to make this happen, this uses signaling >> from the cpu instead of signaling by the gpu. > > I'm not sure if this will work reliable when the semaphores are in

[PATCH 6/7] drm/radeon: allow asynchronous waiting on foreign fences

2014-09-04 Thread Christian König
Am 04.09.2014 um 13:42 schrieb Maarten Lankhorst: > Use the semaphore mechanism to make this happen, this uses signaling > from the cpu instead of signaling by the gpu. I'm not sure if this will work reliable when the semaphores are in system memory. We might need to reserve some VRAM for them

[PATCH 6/7] drm/radeon: allow asynchronous waiting on foreign fences

2014-09-04 Thread Maarten Lankhorst
Use the semaphore mechanism to make this happen, this uses signaling from the cpu instead of signaling by the gpu. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/radeon/radeon.h | 17 ++- drivers/gpu/drm/radeon/radeon_cs.c| 30 ++---