From owner-freebsd-x11@freebsd.org Sat Aug 11 22:54:42 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD3B11055039 for ; Sat, 11 Aug 2018 22:54:42 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 535D794740 for ; Sat, 11 Aug 2018 22:54:42 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: by mailman.ysv.freebsd.org (Postfix) id 184F01055036; Sat, 11 Aug 2018 22:54:42 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06F421055035 for ; Sat, 11 Aug 2018 22:54:42 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EDCE9473E for ; Sat, 11 Aug 2018 22:54:41 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=QDm+7FGhpnKSZ80bjSvX/Kas0bq2qs+7CR+DlMr11rk=; b=GqbKAnFfjC4c+ZZw/I+8jVepYmHxZQRYRefDKrWhLH3PJTvBR5Wa3G+ogwUhao5AnOo7Ay/9qlYb43FkM0LnW80Wyj7ltKpNXVW5IjyQvogQuoeXZxKdqwjFYZhByrwRNmzE0XSVVpOVVVhCyBTZhbRrLKUSGS8q1CTLu/dJWzc= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 35313e4a TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 11 Aug 2018 22:54:32 +0000 (UTC) Date: Sun, 12 Aug 2018 01:54:24 +0300 From: Greg V Subject: Re: Clarification on moving to drm-stable-kmod on 11.2 To: Pete Wright Cc: Kevin Oberman , "freebsd-x11@freebsd.org" Message-Id: <1534028064.35460.2@hraggstad.unrelenting.technology> In-Reply-To: References: <1534020277.35460.0@hraggstad.unrelenting.technology> X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2018 22:54:42 -0000 On Sun, Aug 12, 2018 at 1:12 AM, Pete Wright =20 wrote: >=20 >=20 > On Aug 11, 2018 1:44 PM, Greg V wrote: >> On Sat, Aug 11, 2018 at 9:58 PM, Kevin Oberman >> wrote: >> > A while ago I moved to running drm-stable-kmod on my 11.2 system=20 >> and >> > have >> > not had any issues, but I am unclear on what, if ny changes are >> > appropriate >> > in my loader.conf. I just noticed that the "old" kernel module is >> > atill >> > being loaded and I think that is wrong. >> > >> > My loader.conf contains: >> > drm.i915.enable_rc6=3D7 >> > # Enable semaphores >> > drm.i915.semaphores=3D1 >> > Are these appropriate to drm-stable-kmod? If so, is loader.conf the >> > proper >> > place for them? >>=20 >> Hi, >>=20 >> These don't work with drm-*-kmod, the new names are: >> compat.linuxkpi.enable_rc6, compat.linuxkpi.semaphores, etc. >>=20 >> And yeah, loader.conf is of course the right place. >>=20 >> You can run 'sysctl -a | grep enable_rc6' =97 if you see drm.i915, >> you're on the old module, if you see compat.linuxkpi, you're on the=20 >> new >> one. >>=20 >=20 >=20 > Out of curiosity, what do these knobs do? Or for the semaphor knob,=20 > when would you use this? rc6 is a lower power state. I think it should be enabled by default=20 anyway. semaphores enables, well, semaphores, for some synchronization in the=20 driver somewhere=85 idk really :) also should probably be default=3D1 =