On Fri, 2008-08-01 at 08:44 -0700, Randy Dunlap wrote:
quoted text > On Thu, 31 Jul 2008 23:58:39 -0700 Eric Anholt wrote:
>=20
> > GEM allows the creation of persistent buffer objects accessible by the
> > graphics device through new ioctls for managing execution of commands o=
n the
quoted text > > device. The userland API is almost entirely driver-specific to ensure =
that
quoted text > > any driver building on this model can easily map the interface to indiv=
idual
quoted text > > driver requirements.
> >=20
> > GEM is used by the 2d driver for managing its internal state allocation=
s and
quoted text > > will be used for pixmap storage to reduce memory consumption and enable
> > zero-copy GLX_EXT_texture_from_pixmap, and in the 3d driver is used to =
enable
quoted text > > GL_EXT_framebuffer_object and GL_ARB_pixel_buffer_object.
>=20
> "the 2d driver" ... "the 3d driver".
> Just curious: Is there only one of each of these?
"The 2D driver" means xf86-video-intel xorg driver in userland.
"The 3D driver" means i9[16]5_dri.so mesa driver in userland.
quoted text > > diff --git a/drivers/gpu/drm/drm_agpsupport.c b/drivers/gpu/drm/drm_agp=
support.c
quoted text > > index aefa5ac..2639be2 100644
> > --- a/drivers/gpu/drm/drm_agpsupport.c
> > +++ b/drivers/gpu/drm/drm_agpsupport.c
> > @@ -33,6 +33,7 @@
> > =20
> > #include "drmP.h"
> > #include <linux/module.h>
> > +#include <asm/agp.h>
> > =20
> > #if __OS_HAS_AGP
> > =20
> > @@ -452,4 +453,52 @@ int drm_agp_unbind_memory(DRM_AGP_MEM * handle)
> > return agp_unbind_memory(handle);
> > }
> > =20
> > -#endif /* __OS_HAS_AGP */
> > +/**
>=20
> In the kernel source tree, "/**" means "beginning of kernel-doc notation"=
,
quoted text > so please don't use it when kernel-doc isn't being used.
> (in multiple places/files)
The codebase this is coming from uses doxygen. I hadn't checked to see
if all the doxygen was converted to kernel-doc.
--=20
Eric Anholt
eric@anholt.net eric.anholt@intel.com