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.
<[EMAIL PROTECTED]> wrote: Structure drm_device_t is defined in drmP.h, and it includes a member: struct pci_dev *pdev;. You can check the file .   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Angka H. K. Sent: 2006年 8月15 日 10:00 To: dri-devel@lists.sourceforge.

i915_dma.c compile error

2006-08-14 Thread Angka H. K.
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 structure I think. Thanks --