Re: [PATCH V2 10/23] drm/etnaviv: add 'sync point' support

2017-08-22 Thread Lucas Stach
Am Dienstag, den 22.08.2017, 11:58 +0200 schrieb Christian Gmeiner: [...] > >> @@ -1444,6 +1463,11 @@ static irqreturn_t irq_handler(int irq, void *data) > >> > >> dev_dbg(gpu->dev, "event %u\n", event); > >> > >> + if (gpu->event[event].sync_point) { > >>

Re: [PATCH V2 10/23] drm/etnaviv: add 'sync point' support

2017-08-22 Thread Christian Gmeiner
Hi Lucas 2017-08-08 12:34 GMT+02:00 Lucas Stach : > Am Samstag, den 22.07.2017, 11:53 +0200 schrieb Christian Gmeiner: >> In order to support performance counters in a sane way we need to provide >> a method to sync the GPU with the CPU. The GPU can process multpile

Re: [PATCH V2 10/23] drm/etnaviv: add 'sync point' support

2017-08-08 Thread Lucas Stach
Am Samstag, den 22.07.2017, 11:53 +0200 schrieb Christian Gmeiner: > In order to support performance counters in a sane way we need to provide > a method to sync the GPU with the CPU. The GPU can process multpile command > buffers/events per irq. With the help of a 'sync point' we can trigger an

[PATCH V2 10/23] drm/etnaviv: add 'sync point' support

2017-07-22 Thread Christian Gmeiner
In order to support performance counters in a sane way we need to provide a method to sync the GPU with the CPU. The GPU can process multpile command buffers/events per irq. With the help of a 'sync point' we can trigger an event and stop the GPU/FE immediately. When the CPU is done with is