Getting the intel 915 3D engine to display something with OUT_RING commands only

Keith Whitwell keith at tungstengraphics.com
Tue Jun 19 09:02:49 PDT 2007


Tom De Man wrote:
> Are you referring to this ?
> 
> #define DRM_I915_CMDBUFFER	0x0b 
> 
> Defined in i915_drm.h and used in intelFlushBatchLocked() in intel_oictl.c
> ?
> 
> I see it's used in i915RotateWindow() in i915_metaops.c 
> But it has connections to intelStartInlinePrimitive() etc...
> 
> I'm quickly lost in lots of code. 
> Could you tell me what functions I should minimally call to see some 3D on
> screen ? Preferable functions as close to the OUT_RING() commands as
> possible ?

Capture the DMA generated by progs/trivial/tri.c and pass it to OUT_RING().

Keith




More information about the xorg mailing list