Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270940

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

From Mark yao <mark.yao@rock-chips.com>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH] drm/rockchip: import dma_buf to gem
Date 2015-11-17 09:10 +0100
Message-ID <qvJuV-2p9-3@gated-at.bofh.it> (permalink)
References <qtdfQ-39x-25@gated-at.bofh.it> <qvuPg-1bQ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RESEND PATCH] drm/rockchip: import dma_buf to gem Daniel Vetter <daniel@ffwll.ch> - 2015-11-16 17:30 +0100
  Re: [RESEND PATCH] drm/rockchip: import dma_buf to gem Mark yao <mark.yao@rock-chips.com> - 2015-11-17 09:10 +0100

csiph-web