Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2018 01:54:24 +0300
From:      Greg V <greg@unrelenting.technology>
To:        Pete Wright <pete@nomadlogic.org>
Cc:        Kevin Oberman <rkoberman@gmail.com>, "freebsd-x11@freebsd.org" <x11@freebsd.org>
Subject:   Re: Clarification on moving to drm-stable-kmod on 11.2
Message-ID:  <1534028064.35460.2@hraggstad.unrelenting.technology>
In-Reply-To: <f3c6ac10-8162-4cc5-96ef-30fdddf7724b@email.android.com>
References:  <1534020277.35460.0@hraggstad.unrelenting.technology> <f3c6ac10-8162-4cc5-96ef-30fdddf7724b@email.android.com>

next in thread | previous in thread | raw e-mail | index | archive | help



On Sun, Aug 12, 2018 at 1:12 AM, Pete Wright <pete@nomadlogic.org> 
wrote:
> 
> 
> On Aug 11, 2018 1:44 PM, Greg V <greg@unrelenting.technology> wrote:
>> On Sat, Aug 11, 2018 at 9:58 PM, Kevin Oberman <rkoberman@gmail.com>
>> wrote:
>> > A while ago I moved to running drm-stable-kmod on my 11.2 system 
>> 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=7
>> > # Enable semaphores
>> > drm.i915.semaphores=1
>> > Are these appropriate to drm-stable-kmod? If so, is loader.conf the
>> > proper
>> > place for them?
>> 
>> Hi,
>> 
>> These don't work with drm-*-kmod, the new names are:
>> compat.linuxkpi.enable_rc6, compat.linuxkpi.semaphores, etc.
>> 
>> And yeah, loader.conf is of course the right place.
>> 
>> You can run 'sysctl -a | grep enable_rc6' — if you see drm.i915,
>> you're on the old module, if you see compat.linuxkpi, you're on the 
>> new
>> one.
>> 
> 
> 
> Out of curiosity, what do these knobs do?  Or for the semaphor knob, 
> when would you use this?

rc6 is a lower power state. I think it should be enabled by default 
anyway.

semaphores enables, well, semaphores, for some synchronization in the 
driver somewhere… idk really :) also should probably be default=1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1534028064.35460.2>