diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2017-09-24 15:15:20 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-10-10 11:45:40 +0200 |
commit | 95a428c17212ddef40909981e118acd6f518dc93 (patch) | |
tree | 1b8de3c4610fa253e586e1860f884350826c98ef /drivers/gpu/drm/etnaviv/etnaviv_buffer.c | |
parent | 355502e03ad26e3c872a0f5c408a4accca57ba7e (diff) | |
download | blackbird-obmc-linux-95a428c17212ddef40909981e118acd6f518dc93.tar.gz blackbird-obmc-linux-95a428c17212ddef40909981e118acd6f518dc93.zip |
drm/etnaviv: make it possible to allocate multiple events
This makes it possible to allocate multiple events under the event
spinlock. This change is needed to support 'sync'-points.
Changes v2 -> v3:
- wait for the completion of all events
- use 10sec timeout regardless of the number of events
- removed validation if there are enough free events
- fixed return value evaluation of event_alloc(..) in etnaviv_gpu_submit(..)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_buffer.c')
0 files changed, 0 insertions, 0 deletions