From owner-freebsd-current@FreeBSD.ORG Fri May 4 08:49:05 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E732B106564A for ; Fri, 4 May 2012 08:49:05 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id BCD478FC0C for ; Fri, 4 May 2012 08:49:05 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q448n1aR023419; Fri, 4 May 2012 02:49:03 -0600 From: Erich Dollansky To: Artem Tuchinsky Date: Fri, 4 May 2012 15:48:59 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201205041029.24565.erichfreebsdlist@ovitrap.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201205041548.59645.erichfreebsdlist@ovitrap.com> Cc: freebsd-current@freebsd.org Subject: Re: X220 and all.14.5.patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 08:49:06 -0000 Hi. On Friday 04 May 2012 12:12:49 Artem Tuchinsky wrote: > it's russian, not greek :) and this is my posts. Try to remove I know. I am also a sky. > /usr/src and checkout clean source before applying patch, it helped I did this on a freshly installed machine. But I will do again. > me. And check FAQ, paragraphs 7 and 8 - > http://wiki.freebsd.org/Intel_GPU I did not do this. > > sorry for my bad english It is not so bad compared to some people from London. Erich > > 2012/5/4 Erich Dollansky : > > 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@X220.ovitrap.com:/usr/obj/usr/src/sys/X220 amd64 > > > > Erich > > > > -- > wBR, Tuchinsky Artem > >