From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 11 08:47:03 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B98C16A420 for ; Fri, 11 Jan 2008 08:47:03 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 1710413C4D5 for ; Fri, 11 Jan 2008 08:47:02 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so601274uge.37 for ; Fri, 11 Jan 2008 00:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=r9jxsGWgGkgTTc8848zRHwoyT03VXnBSXlEQRVlYKe8=; b=V6NTkq9fFzGiG3r8x4wEj1bvDQi/b5Gt/aNUkuJ5z62mNM3v/79UlogLJyvLeqKfmHPk4g7MN31Rr7cfk0vPfWTxpP/7ThLERFUVgg19ZrWfmFT2Q04gp7VRM7xW2ZekrBpFQj4oFsCyQwmKFQSLQxdqLTWSfNZap8EkP8ozBvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=XXfR25EsqLE71fh7H6FXBIjvxS3bQ8ye/YqVZ8oIDtT89xYNxjJvl3vwqEkf/VXtUJts5xamwKD9UzFIt+OdRZxqrfldrYZNQuKaS4XG1zD1ppf4i6O9VWJCZw5ULyK1ExnQDf3RijUMec7cOdMx3Dyi5b+/aMC1YgVoCzRXZg4= Received: by 10.67.89.15 with SMTP id r15mr4531893ugl.12.1200039520734; Fri, 11 Jan 2008 00:18:40 -0800 (PST) Received: from beastie.lan ( [194.9.14.78]) by mx.google.com with ESMTPS id 31sm10148328ugg.47.2008.01.11.00.18.38 (version=SSLv3 cipher=RC4-MD5); Fri, 11 Jan 2008 00:18:39 -0800 (PST) Message-ID: <4787261B.7030003@gmail.com> Date: Fri, 11 Jan 2008 10:17:31 +0200 User-Agent: Thunderbird 2.0.0.9 (X11/20071129) MIME-Version: 1.0 To: Alexandr Krivulya References: <4785D519.8030906@shurik.kiev.ua> In-Reply-To: <4785D519.8030906@shurik.kiev.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: Andrey Cc: freebsd-mobile@freebsd.org Subject: Re: drm on i965M. Possible workaround. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 08:47:03 -0000 Hi, Alexandr! I've tried your workaround. And it looks like it works (on my laptop HP Compaq 6710b with integrated Intel X3100 Graphic Card (GM965)). # dmesg | egrep -i 'agp|drm' agp0: on vgapci0 agp0: detected 7676k stolen memory agp0: aperture size is 256M drm0: on vgapci0 info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.5.0 20060119 drm0: [ITHREAD] BTW: If there are no following devices statically compiled with the kernel: device drm device i915drm then it seems that it is faster to test your workaround by means of: # cp /usr/src/sys/dev/drm/drm_pciids.h /usr/src/sys/dev/drm/drm_pciids.h.orig # cd /usr/src/sys/modules/drm/drm/ # make clean # make depend && make obj && make && make install && make clean -- Sincerely, Andrey Alexandr Krivulya wrote: > Hi! > > I have HP Compaq 6710s laptop with i965GM on FreeBSD 7.0-PRERELEASE. > #pciconf -lv > ------ > vgapci0@pci0:0:2:0: class=0x030000 card=0x30c0103c chip=0x2a028086 > rev=0x0c hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 965 Express Integrated Graphics Controller' > class = display > subclass = VGA > ------- > > To enable drm for this card add following line to > /usr/src/sys/dev/drm/drm_pciids.h > and recompile kernel. > > #define i915_PCI_IDS \ > {0x8086, 0x3577, 0, "Intel i830M GMCH"}, \ > {0x8086, 0x2562, 0, "Intel i845G GMCH"}, \ > {0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \ > {0x8086, 0x2572, 0, "Intel i865G GMCH"}, \ > {0x8086, 0x2582, 0, "Intel i915G"}, \ > {0x8086, 0x2592, 0, "Intel i915GM"}, \ > {0x8086, 0x2772, 0, "Intel i945G"}, \ > {0x8086, 0x27A2, 0, "Intel i945GM"}, \ > {0x8086, 0x2972, 0, "Intel i946GZ"}, \ > {0x8086, 0x2982, 0, "Intel i965G"}, \ > {0x8086, 0x2992, 0, "Intel i965Q"}, \ > {0x8086, 0x29A2, 0, "Intel i965G"}, \ > {0x8086, 0x2A02, 0, "Intel i965M"}, \ #ADD THIS LINE > {0, 0, 0, NULL} > > With drm enabled I haven't any problems. > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" >