From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: Re: New sysfs interface for privacy screens Date: Thu, 03 Oct 2019 11:19:13 +0300 Message-ID: <87muei9r7i.fsf@intel.com> References: <20191002094650.3fc06a85@lwn.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20191002094650.3fc06a85@lwn.net> Sender: linux-kernel-owner@vger.kernel.org To: Jonathan Corbet , Mat King Cc: Daniel Thompson , rafael@kernel.org, gregkh@linuxfoundation.org, Ross Zwisler , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jingoo Han , Rajat Jain , Lee Jones , Alexander Schremmer , Andy Shevchenko List-Id: dri-devel@lists.freedesktop.org On Wed, 02 Oct 2019, Jonathan Corbet wrote: > On Tue, 1 Oct 2019 10:09:46 -0600 > Mat King wrote: > >> I have been looking into adding Linux support for electronic privacy >> screens which is a feature on some new laptops which is built into the >> display and allows users to turn it on instead of needing to use a >> physical privacy filter. In discussions with my colleagues the idea of >> using either /sys/class/backlight or /sys/class/leds but this new >> feature does not seem to quite fit into either of those classes. > > FWIW, it seems that you're not alone in this; 5.4 got some support for > such screens if I understand things correctly: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=110ea1d833ad Oh, I didn't realize it got merged already, I thought this was related... So we've already replicated the backlight sysfs interface problem for privacy screens. :( BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center