From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>,
Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Aaron Lu" <aaron.lu@intel.com>,
"Matthew Garrett" <mjg59@srcf.ucam.org>,
"* SAMÍ *" <miaousami@hotmail.com>,
intel-gfx <intel-gfx@lists.freedesktop.org>,
LKML <linux-kernel@vger.kernel.org>,
"ACPI Devel Maling List" <linux-acpi@vger.kernel.org>,
"Igor Gnatenko" <i.gnatenko.brain@gmail.com>
Subject: Re: Linux 3.11-rc2 [backlight] [ASUS N56VZ]
Date: Thu, 25 Jul 2013 11:09:27 +0300 [thread overview]
Message-ID: <87hafjxdqg.fsf@intel.com> (raw)
In-Reply-To: <6051153.b6TE1dlrel@vostro.rjw.lan>
On Thu, 25 Jul 2013, "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> On Wednesday, July 24, 2013 02:05:15 PM Linus Torvalds wrote:
>> On Wed, Jul 24, 2013 at 2:02 PM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
>> >
>> > I think a i915 module option should be doable, otoh people seem to have a
>> > viable workaround by setting a different acpi os version already.
>>
>> At least the original claim was that if you set a non-windows8 acpi os
>> version, you hit other bugs..
>>
>> But yeah, if we just do a plain revert, that may be the only option
>> for the people for whom the current (to-be-reverted) patches made
>> things work.
>
> Well, I wonder what about the appended (untested) patch?
Rafael, before going there, I've been trying to wrap my (poor, rusty
after vacation) head around
commit 8c5bd7adb2ce47e6aa39d17b2375f69b0c0aa255
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date: Thu Jul 18 02:08:06 2013 +0200
ACPI / video / i915: No ACPI backlight if firmware expects Windows 8
and I can't see how it could work.
First, the ACPI_VIDEO_SKIP_BACKLIGHT flag seems to be checked before
it's actually set anywhere. Buried deep in the calls from
acpi_video_bus_add(), acpi_video_verify_backlight_support() is used
before acpi_video_backlight_quirks() gets called. (Perhaps if i915 is
reloaded, this goes right as the flags are already set.)
Second, with i915 that has opregion support, __acpi_video_register()
should only ever get called once. Which means the acpi_walk_namespace()
with video_unregister_backlight() should never get called in register.
Please enlighten me.
BR,
Jani.
--
Jani Nikula, Intel Open Source Technology Center
WARNING: multiple messages have this Message-ID (diff)
From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>,
Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Aaron Lu" <aaron.lu@intel.com>,
"Matthew Garrett" <mjg59@srcf.ucam.org>,
"* SAMÍ *" <miaousami@hotmail.com>,
intel-gfx <intel-gfx@lists.freedesktop.org>,
LKML <linux-kernel@vger.kernel.org>,
"ACPI Devel Maling List" <linux-acpi@vger.kernel.org>,
"Igor Gnatenko" <i.gnatenko.brain@gmail.com>
Subject: Re: [Intel-gfx] Linux 3.11-rc2 [backlight] [ASUS N56VZ]
Date: Thu, 25 Jul 2013 11:09:27 +0300 [thread overview]
Message-ID: <87hafjxdqg.fsf@intel.com> (raw)
In-Reply-To: <6051153.b6TE1dlrel@vostro.rjw.lan>
On Thu, 25 Jul 2013, "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> On Wednesday, July 24, 2013 02:05:15 PM Linus Torvalds wrote:
>> On Wed, Jul 24, 2013 at 2:02 PM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
>> >
>> > I think a i915 module option should be doable, otoh people seem to have a
>> > viable workaround by setting a different acpi os version already.
>>
>> At least the original claim was that if you set a non-windows8 acpi os
>> version, you hit other bugs..
>>
>> But yeah, if we just do a plain revert, that may be the only option
>> for the people for whom the current (to-be-reverted) patches made
>> things work.
>
> Well, I wonder what about the appended (untested) patch?
Rafael, before going there, I've been trying to wrap my (poor, rusty
after vacation) head around
commit 8c5bd7adb2ce47e6aa39d17b2375f69b0c0aa255
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date: Thu Jul 18 02:08:06 2013 +0200
ACPI / video / i915: No ACPI backlight if firmware expects Windows 8
and I can't see how it could work.
First, the ACPI_VIDEO_SKIP_BACKLIGHT flag seems to be checked before
it's actually set anywhere. Buried deep in the calls from
acpi_video_bus_add(), acpi_video_verify_backlight_support() is used
before acpi_video_backlight_quirks() gets called. (Perhaps if i915 is
reloaded, this goes right as the flags are already set.)
Second, with i915 that has opregion support, __acpi_video_register()
should only ever get called once. Which means the acpi_walk_namespace()
with video_unregister_backlight() should never get called in register.
Please enlighten me.
BR,
Jani.
--
Jani Nikula, Intel Open Source Technology Center
next prev parent reply other threads:[~2013-07-25 8:09 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 18:43 Linux 3.11-rc2 [backlight] [ASUS N56VZ] * SAMÍ *
[not found] ` <CAFMg4WB21dWV6c+hxzrXR_0pSfnayFPZGx0byX6pKjMS5SDoqQ@mail.gmail.com>
2013-07-24 19:29 ` Rafael J. Wysocki
2013-07-24 19:39 ` Rafael J. Wysocki
2013-07-24 19:39 ` Rafael J. Wysocki
2013-07-24 20:39 ` Linus Torvalds
2013-07-24 21:02 ` [Intel-gfx] " Daniel Vetter
2013-07-24 21:05 ` Linus Torvalds
2013-07-24 21:05 ` [Intel-gfx] " Linus Torvalds
2013-07-24 21:23 ` Rafael J. Wysocki
2013-07-24 21:23 ` [Intel-gfx] " Rafael J. Wysocki
2013-07-25 8:09 ` Jani Nikula [this message]
2013-07-25 8:09 ` Jani Nikula
2013-07-25 11:58 ` Rafael J. Wysocki
2013-07-25 12:34 ` Jani Nikula
2013-07-25 12:57 ` Rafael J. Wysocki
2013-07-29 19:36 ` * SAMÍ *
2013-07-29 20:03 ` Rafael J. Wysocki
2013-07-29 20:03 ` Rafael J. Wysocki
2013-07-29 21:53 ` * SAMÍ *
2013-07-29 21:53 ` * SAMÍ *
2013-07-29 22:11 ` Rafael J. Wysocki
2013-07-29 22:11 ` Rafael J. Wysocki
2013-07-29 23:38 ` Aaron Lu
2013-07-29 23:38 ` Aaron Lu
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=87hafjxdqg.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=aaron.lu@intel.com \
--cc=i.gnatenko.brain@gmail.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miaousami@hotmail.com \
--cc=mjg59@srcf.ucam.org \
--cc=rjw@sisk.pl \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.