Re: [PATCH] drm/i915: Deny wrapping an userptr into a framebuffer

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

 



On Tue, Oct 13, 2015 at 03:00:18PM +0100, Tvrtko Ursulin wrote:
> 
> On 13/10/15 14:22, Chris Wilson wrote:
> >Pinning a userptr onto the hardware raises interesting questions about
> >the lifetime of such a surface as the framebuffer extends that life
> >beyond the client's address space. That is the hardware will need to
> >keep scanning out from the backing storage even after the client wants
> >to remap its address space. As the hardware pins the backing storage,
> >the userptr becomes invalid and this raises a WARN when the clients
> >tries to unmap its address space. The situation can be even more
> >complicated when the buffer is passed between processes, between a
> >client and display server, where the lifetime and hardware access is
> >even more confusing. Deny it.
> 
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>

Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
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