From: Adam Jackson Subject: Re: [PATCH 1/5] drm/vgem: virtual GEM provider Date: Tue, 21 Feb 2012 10:03:34 -0500 Message-ID: <1329836614.30884.18.camel@atropine> References: <1328743171-13750-2-git-send-email-ben@bwidawsk.net> <959188052.1150535.1329400331995.JavaMail.root@zimbra-prod-mbox-2.vmware.com> <20120220181007.04ba20fe@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0830204260==" Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id F0B4DA0C00 for ; Tue, 21 Feb 2012 07:17:29 -0800 (PST) In-Reply-To: <20120220181007.04ba20fe@intel.com> 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 --===============0830204260== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-DChQVfrMF+4qTys0zPKe" --=-DChQVfrMF+4qTys0zPKe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2012-02-20 at 18:10 +0100, Ben Widawsky wrote: > On Thu, 16 Feb 2012 05:52:12 -0800 (PST) > Jakob Bornecrantz wrote: > > 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. >=20 > I thought dumb bo interface was an extension for an existing DRM GEM driv= er. In my > case, for prototyping dma_buf support, this is non-ideal. I'm not sure wh= at Adam > thinks of this though (I imagine he wants a device independent driver tho= ugh). >=20 > I may be completely off. Assuming by this you mean DRM_IOCTL_MODE_{CREATE,MAP,DESTROY}_DUMB, I wasn't considering that because I wasn't expecting this device to expose a scanout buffer. It's hard to imagine how it would, given that API, since you'd need userspace to jam the framebuffer info in from above. If the vmwgfx ddx wants to do this kind of fallback, great, but that's just ddx logic, open the right drm device and change the dri driver name. If you don't want to rely on a vgem device node existing... well, tough, I guess, since the ioctl numbers will collide. It needs to exist for the vesa-like case regardless. - ajax --=-DChQVfrMF+4qTys0zPKe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk9DskcACgkQW4otUKDs0NOQ8QCgs9lGxxsxzsyCEQvuJK+yZWM4 +yQAoNFBpah6gy7Yxy0xRAVfXaJpTqDT =raIn -----END PGP SIGNATURE----- --=-DChQVfrMF+4qTys0zPKe-- --===============0830204260== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0830204260==--