On Thu, Jan 18, 2018 at 08:42:55AM +0100, Daniel Vetter wrote:
> On Wed, Jan 17, 2018 at 11:46 PM, Gurchetan Singh
> wrote:
> >> dma api just isn't quite sufficient for implementing fast gpu drivers.
> >
> >
> > Can you elaborate? IIRC the DMA API has strong synchronization guarantees
> > and tha
On Thu, Jan 18, 2018 at 09:20:11AM -0800, Gurchetan Singh wrote:
> On Wed, Jan 17, 2018 at 11:42 PM, Daniel Vetter wrote:
>
> > On Wed, Jan 17, 2018 at 11:46 PM, Gurchetan Singh
> > wrote:
> > >> dma api just isn't quite sufficient for implementing fast gpu drivers.
> > >
> > >
> > > Can you ela
On Wed, Jan 17, 2018 at 11:42 PM, Daniel Vetter wrote:
> On Wed, Jan 17, 2018 at 11:46 PM, Gurchetan Singh
> wrote:
> >> dma api just isn't quite sufficient for implementing fast gpu drivers.
> >
> >
> > Can you elaborate? IIRC the DMA API has strong synchronization
> guarantees
> > and that ca
On Wed, Jan 17, 2018 at 11:46 PM, Gurchetan Singh
wrote:
>> dma api just isn't quite sufficient for implementing fast gpu drivers.
>
>
> Can you elaborate? IIRC the DMA API has strong synchronization guarantees
> and that can be problematic for GPU drivers. However, using the DMA API for
> flush
On Wed, Jan 17, 2018 at 09:31:05AM +0100, Daniel Vetter wrote:
> On Tue, Jan 16, 2018 at 04:35:58PM -0800, Gurchetan Singh wrote:
> > The DMA API can be used to flush scatter gather tables and physical
> > pages on ARM devices.
> >
> > Signed-off-by: Gurchetan Singh
> > ---
> > drivers/gpu/drm/d
>
> dma api just isn't quite sufficient for implementing fast gpu drivers.
Can you elaborate? IIRC the DMA API has strong synchronization guarantees
and that can be problematic for GPU drivers. However, using the DMA API
for flushing doesn't necessarily mean the driver has to use the rest of th
On Wed, Jan 17, 2018 at 7:53 PM, Sean Paul wrote:
> On Wed, Jan 17, 2018 at 09:31:05AM +0100, Daniel Vetter wrote:
>> On Tue, Jan 16, 2018 at 04:35:58PM -0800, Gurchetan Singh wrote:
>> > The DMA API can be used to flush scatter gather tables and physical
>> > pages on ARM devices.
>> >
>> > Signe
On Tue, Jan 16, 2018 at 04:35:58PM -0800, Gurchetan Singh wrote:
> The DMA API can be used to flush scatter gather tables and physical
> pages on ARM devices.
>
> Signed-off-by: Gurchetan Singh
> ---
> drivers/gpu/drm/drm_cache.c | 17 +
> drivers/gpu/drm/rockchip
The DMA API can be used to flush scatter gather tables and physical
pages on ARM devices.
Signed-off-by: Gurchetan Singh
---
drivers/gpu/drm/drm_cache.c | 17 +
drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 7 ++-
drivers/gpu/drm/tegra/gem.c |