X220 and all.14.5.patch

Erich Dollansky erichfreebsdlist at ovitrap.com
Fri May 4 03:29:45 UTC 2012


Hi,

I just applied this patch and tried to compile getting this error:

/usr/src/sys/dev/drm/i915_mem.c:216: warning: no previous prototype for 'i915_mem_release' [-Wmissing-prototypes]
/usr/src/sys/dev/drm/i915_mem.c:246: warning: no previous prototype for 'i915_mem_takedown' [-Wmissing-prototypes]
/usr/src/sys/dev/drm/i915_mem.c: In function 'get_heap':
/usr/src/sys/dev/drm/i915_mem.c:266: error: 'drm_i915_private_t' has no member named 'agp_heap'
/usr/src/sys/dev/drm/i915_mem.c: At top level:
/usr/src/sys/dev/drm/i915_mem.c:276: warning: no previous prototype for 'i915_mem_alloc' [-Wmissing-prototypes]
/usr/src/sys/dev/drm/i915_mem.c:314: warning: no previous prototype for 'i915_mem_free' [-Wmissing-prototypes]
/usr/src/sys/dev/drm/i915_mem.c:342: warning: no previous prototype for 'i915_mem_init_heap' [-Wmissing-prototypes]
/usr/src/sys/dev/drm/i915_mem.c:366: warning: no previous prototype for 'i915_mem_destroy_heap' [-Wmissing-prototypes]
*** [i915_mem.o] Error code 1

I found this:

http://pastebin.com/ySPxJNUF

and

http://www.linux.org.ru/news/bsd/7658822/page6

which is a bit like Greek for me.

It would be easy to fix the prototype errors. Does anybody know what agp_heap is all about?

The machine:

FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Wed May  2 06:59:48 WIT 2012     erich at X220.ovitrap.com:/usr/obj/usr/src/sys/X220  amd64

Erich


More information about the freebsd-current mailing list