Re: i915_dma.c compile error

2006-08-14 Thread Eric Anholt
On Tue, 2006-08-15 at 08:59 +0700, Angka H. K. wrote: > I have drm source about a week ago on FreeBSD 7. > > My compilation failed on i915_dma.c line 405, the compiler complain > about pdev not define. The defination looks like this > "dev->pdev->device ". There is no pdev defined at drm_device st

RE: i915_dma.c compile error

2006-08-14 Thread Wu, Nian
, Nian Cc: dri-devel@lists.sourceforge.net Subject: Re: i915_dma.c compile error   Here is the output when I compiled the source: -- cc -O2 -fno-strict-aliasing -pipe

Re: i915_dma.c compile error

2006-08-14 Thread Angka H. K.
FYII tried this :/*  if (IS_I965G(dev)) {    BEGIN_LP_RING(4);    OUT_RING(GFX_OP_DRAWRECT_INFO_I965);     OUT_RING((box.x1 & 0x) | (box.y1 << 16));    OUT_RING(((box.

Re: i915_dma.c compile error

2006-08-14 Thread Angka H. K.
Here is the output when I compiled the source:--cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I. -I.. -I. -I@ -I@/contrib/altq -I@/../i