Re: [RESEND PATCH] drm/rockchip: import dma_buf to gem

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

 



On 2015年11月17日 00:25, Daniel Vetter wrote:
On Tue, Nov 10, 2015 at 05:11:57PM +0800, Mark Yao wrote:
>We want to display a buffer allocated by other driver, need import
>the buffer to gem.
Does this work with some open-source driver/userspace or is this for the
proprietary stack only? A bit a grey area I guess, but if it's only for
the proprietary stack I think it shouldn't land in upstream - making sure
it works with open-source (e.g. Xorg prime) first would be good.
-Daniel

Hi Daniel
    It works on open-source with following stack:
        ion -> dma_fd  -> prime fd to handle -> drm -> vop

ion is the android ION memory allocator, its driver at upstream-kernel/drivers/staging/android/ion.

We have some application use ion on android, and want to port to Xorg side.

Thanks

--
Mark Yao


_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux