From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] acpi-video: Add disable_native_backlight quirk for Dell XPS15 L521X
Date: Mon, 12 Jan 2015 10:21:32 +0000 [thread overview]
Message-ID: <20150112102131.GA25585@srcf.ucam.org> (raw)
In-Reply-To: <54B39019.2070501@redhat.com>
On Mon, Jan 12, 2015 at 10:12:57AM +0100, Hans de Goede wrote:
> Hi,
>
> On 12-01-15 03:44, Matthew Garrett wrote:
> >On Sun, Jan 11, 2015 at 11:37:52AM +0100, Hans de Goede wrote:
> >
> >>Userspace is writing to the intel_backlight device because it is the
> >>only one present under /sys/class/backlight, as we disable acpi-video
> >>on win8 ready laptops by default now.
> >
> >Why is nouveau not providing a backlight device?
>
> I do not know.
We should figure that out. One possibility here is that it's correct for
Intel to be disabling the ACPI device, but not correct for nouveau to
be. We should possibly extend the interface to only unregister devices
that correspond to the PCI device provided by the raw interface.
> >I don't think we have enough evidence to know whether this fix is
> >correct.
>
> This fix fixes a regression introduced from kernel 3.15 to 3.16, when we
> switched video.use_native_brightness's default from 0 to 1, all this patch
> does is restore the previous behaviour on this specific model as the new
> behaviour is broken.
But it does so in a way that discourages us from ever fixing the actual
problem, and leaves an unknown number of similar systems broken.
> So this is in essence a model targeted "revert" fixing a regression and as
> such most certainly is correct, given the clear no regressions policy the
> kernel has.
If we want to avoid regressions and a patch has broken a system without
us having a good idea as to why, we should revert the entire patch in
order to unbreak other systems.
--
Matthew Garrett | mjg59@srcf.ucam.org
prev parent reply other threads:[~2015-01-12 10:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 7:57 [PATCH] acpi-video: Add disable_native_backlight quirk for Dell XPS15 L521X Hans de Goede
2015-01-05 23:35 ` Rafael J. Wysocki
2015-01-11 6:16 ` Matthew Garrett
2015-01-11 10:37 ` Hans de Goede
2015-01-12 2:44 ` Matthew Garrett
2015-01-12 9:12 ` Hans de Goede
2015-01-12 10:21 ` Matthew Garrett [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150112102131.GA25585@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=hdegoede@redhat.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).