From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Simmons Date: Mon, 15 Mar 2010 18:22:03 +0000 Subject: Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Message-Id: List-Id: References: <1268302426.7444.117.camel@thor.local> <21d7e9971003121251v4bef7e96v67f3d98aa9ab384a@mail.gmail.com> <21d7e9971003131301r723f3311p3553ea8a1a86bf0a@mail.gmail.com> In-Reply-To: <21d7e9971003131301r723f3311p3553ea8a1a86bf0a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dave Airlie Cc: linux-fbdev-devel@lists.sourceforge.net, Paulius Zaleckas , =?ISO-8859-15?Q?Michel_D=E4nzer?= , Michal Suchanek , Alex Deucher , dri-devel@lists.sourceforge.net > > Searching the TTM code I couldn't find the handle code so easily. I see > > that the vmwgfx driver provides a example of using ttm. > > So handles are purely a userspace interface, in-kernel we don't use handles > for buffer management, the vmwgfx TTM interface has vmw_user_surface_lookup_handle > to do the bo lookups. Yeap, some how userland has to tell which buffer is which. I also noticed their is a ttm_base_object_lookup which does the same thing :-) ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Linux-fbdev-devel mailing list Linux-fbdev-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel