Re: [PATCH 3/9] gpu: ipu-v3: add driver for Prefetch Resolve Engine

2017-03-06 Thread Philipp Zabel
On Fri, 2017-03-03 at 19:25 +0100, Lucas Stach wrote: [...] > > > +int ipu_pre_get(struct ipu_pre *pre) > > > +{ > > > + u32 val; > > > + > > > + if (pre->in_use) > > > + return -EBUSY; > > > > This could race for in_use ... > > All the PRE/PRG configuration functions are thread unsafe,

Re: [PATCH 3/9] gpu: ipu-v3: add driver for Prefetch Resolve Engine

2017-03-03 Thread Lucas Stach
Am Montag, den 20.02.2017, 16:20 +0100 schrieb Philipp Zabel: > On Fri, 2017-02-17 at 19:28 +0100, Lucas Stach wrote: > > This adds support for the i.MX6 QuadPlus PRE units. Currently only > > linear prefetch into SRAM is supported, other modes of operation > > like the tiled-to-linear conversion

Re: [PATCH 3/9] gpu: ipu-v3: add driver for Prefetch Resolve Engine

2017-02-20 Thread Philipp Zabel
On Fri, 2017-02-17 at 19:28 +0100, Lucas Stach wrote: > This adds support for the i.MX6 QuadPlus PRE units. Currently only > linear prefetch into SRAM is supported, other modes of operation > like the tiled-to-linear conversion will be added later. > > Signed-off-by: Lucas Stach

[PATCH 3/9] gpu: ipu-v3: add driver for Prefetch Resolve Engine

2017-02-17 Thread Lucas Stach
This adds support for the i.MX6 QuadPlus PRE units. Currently only linear prefetch into SRAM is supported, other modes of operation like the tiled-to-linear conversion will be added later. Signed-off-by: Lucas Stach --- drivers/gpu/ipu-v3/Makefile | 2 +-