Re: gpu outputs slave and cache flushing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 30, 2013 at 03:04:22PM +1000, Dave Airlie wrote:
> Hey,
> 
> so I put a patch into intel driver a while ago to avoid doing a bo
> flush using map/unmap for output slave device if the kernel has vmap
> flushing
> 
> However on reflection I realised this only works for CPU accessing
> devices like UDL but doesn't work for GPU accessing devices like
> nouveau/radeon,
> 
> Going forward I'm sure we'll eventually get GPU sync via Maarten's
> patches but I'm thinking I should revert this change in the intel
> driver for now,
> so reverse optimus can work properly
> 
> Anyone got any ideas for a better plan going forward, maybe a stop gap
> before Maartens patches.

I don't think it is possible to w/a this in userspace, so let's blame
Daniel^WBen for this mess and cheer on our knight in shining armour.
Go Maarten! But we need to be sure there is a similar synchronisation
point for CPU access to a foriegn dma-buf.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux