Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2015 16:45:45 -0600
From:      Elizabeth Myers <elizabeth@interlinked.me>
To:        John Baldwin <jhb@FreeBSD.org>, freebsd-current@freebsd.org
Subject:   Re: Questions on adding backlight support for the i915 driver
Message-ID:  <54CC0999.90500@interlinked.me>
In-Reply-To: <54CBA0A4.30708@FreeBSD.org>
References:  <54C883E7.4000300@interlinked.me> <54CBA0A4.30708@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/30/15 09:17, John Baldwin wrote:
> Humm.  If the code is going to live in the drm driver, then I would
> start with hanging a sysctl off of the drm device itself.  (Each new-bus
> device_t has a sysctl ctx you can get to hang new nodes off of the
> device's node.)
I'm wondering if that's the correct place for it to live. So far it's
the only real place it *can* live that makes logical sense imho, unless
anyone has better ideas.

This is awesome. As for upower, it should probably be patched to know
about other types of brightness sysctls if/when this is implemented.

--
Cheers,
Elizabeth



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