From: Jakob Bornecrantz Subject: Re: [PATCH 1/5] drm/vgem: virtual GEM provider Date: Thu, 16 Feb 2012 05:52:12 -0800 (PST) Message-ID: <959188052.1150535.1329400331995.JavaMail.root@zimbra-prod-mbox-2.vmware.com> References: <1328743171-13750-2-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-outbound-1.vmware.com (smtp-outbound-1.vmware.com [208.91.2.12]) by gabe.freedesktop.org (Postfix) with ESMTP id E2A0EA0B7E for ; Thu, 16 Feb 2012 05:52:13 -0800 (PST) In-Reply-To: <1328743171-13750-2-git-send-email-ben@bwidawsk.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Ben Widawsky Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org ----- Original Message ----- > From: Adam Jackson > > This is about as minimal of a virtual GEM service as possible. My > plan is to use this with non-native-3D hardware for buffer sharing > between X and DRI. > > The current drisw winsys assumes an unmodified X server, which means > it's hopelessly inefficient for both the push direction of > SwapBuffers/DrawPixels and the pull direction of > GLX_EXT_texture_from_pixmap. I'm still working through the details > of what the xserver support will look like, but in broad strokes it's > "use vgem for CreatePixmap and optionally the shadowfb". > > Obviously alpha quality, mostly looking for feedback on the approach > or any glaring bugs. Eventually I'd like to see solutions for > sharing gem objects between drm devices and/or the dma_buf API, but > that's a ways down the road. > > Signed-off-by: Adam Jackson Any reason why you are not using the dumb_bo interface? I at least would like to be able to offer vgem on the vmwgfx device when the host has disabled 3D. Cheers, Jakob.