From: yakui_zhao <yakui.zhao@intel.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Niel Lambrechts <niel.lambrechts@gmail.com>,
Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
Andrew Morton <akpm@linux-foundation.org>,
"linux.kernel" <linux-kernel@vger.kernel.org>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
Subject: Re: 2.6.30-rc1 (latest git): thinkpad-acpi: cannot control brightness with hotkeys (BISECTED)
Date: Thu, 16 Apr 2009 09:02:53 +0800 [thread overview]
Message-ID: <1239843773.3638.2.camel@localhost.localdomain> (raw)
In-Reply-To: <20090415164939.GA27807@srcf.ucam.org>
On Thu, 2009-04-16 at 00:49 +0800, Matthew Garrett wrote:
> Does this help?
If so, we don't need the following patch.
>http://marc.info/?l=linux-acpi&m=123967828429865&w=2
>check whether the ACPI video driver is deferrable only when KMS is
set
> diff --git a/drivers/gpu/drm/i915/i915_opregion.c b/drivers/gpu/drm/i915/i915_opregion.c
> index 6942772..8dc1fd3 100644
> --- a/drivers/gpu/drm/i915/i915_opregion.c
> +++ b/drivers/gpu/drm/i915/i915_opregion.c
> @@ -370,11 +370,8 @@ int intel_opregion_init(struct drm_device *dev, int resume)
> if (mboxes & MBOX_ACPI) {
> DRM_DEBUG("Public ACPI methods supported\n");
> opregion->acpi = base + OPREGION_ACPI_OFFSET;
> - if (drm_core_check_feature(dev, DRIVER_MODESET)) {
> + if (drm_core_check_feature(dev, DRIVER_MODESET))
> intel_didl_outputs(dev);
> - if (!resume)
> - acpi_video_register();
> - }
> } else {
> DRM_DEBUG("Public ACPI methods not supported\n");
> err = -ENOTSUPP;
> @@ -391,6 +388,10 @@ int intel_opregion_init(struct drm_device *dev, int resume)
> opregion->asle = base + OPREGION_ASLE_OFFSET;
> }
>
> + if (!resume)
> + acpi_video_register();
> +
> +
> /* Notify BIOS we are ready to handle ACPI video ext notifs.
> * Right now, all the events are handled by the ACPI video module.
> * We don't actually need to do anything with them. */
>
next prev parent reply other threads:[~2009-04-16 1:01 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <49E10684.5090101@gmail.com>
2009-04-11 22:05 ` 2.6.30-rc1 (latest git): thinkpad-acpi: cannot control brightness with hotkeys Andrew Morton
2009-04-11 22:44 ` Niel Lambrechts
2009-04-11 22:55 ` Niel Lambrechts
2009-04-11 23:10 ` Niel Lambrechts
2009-04-12 5:04 ` Henrique de Moraes Holschuh
2009-04-12 4:58 ` Henrique de Moraes Holschuh
2009-04-12 16:14 ` Henrique de Moraes Holschuh
2009-04-12 18:37 ` Niel Lambrechts
2009-04-13 1:21 ` yakui_zhao
2009-04-13 15:16 ` Niel Lambrechts
2009-04-13 20:34 ` Henrique de Moraes Holschuh
2009-04-14 23:59 ` 2.6.30-rc1 (latest git): thinkpad-acpi: cannot control brightness with hotkeys (BISECTED) Niel Lambrechts
2009-04-15 0:41 ` Maxim Levitsky
2009-04-15 5:51 ` Niel Lambrechts
2009-04-15 1:50 ` Zhang Rui
2009-04-15 1:51 ` Zhang Rui
2009-04-15 6:53 ` Niel Lambrechts
2009-04-15 12:35 ` Peter Zijlstra
2009-04-15 16:49 ` Matthew Garrett
2009-04-15 19:55 ` Niel Lambrechts
2009-04-15 20:01 ` Matthew Garrett
2009-04-15 20:57 ` Niel Lambrechts
2009-04-15 21:00 ` Matthew Garrett
2009-04-16 1:02 ` yakui_zhao [this message]
2009-04-13 1:53 ` 2.6.30-rc1 (latest git): thinkpad-acpi: cannot control brightness with hotkeys Zhang Rui
2009-04-13 15:18 ` Niel Lambrechts
2009-04-13 18:20 ` Niel Lambrechts
2009-04-14 1:02 ` Zhang Rui
2009-04-14 3:03 ` Zhang Rui
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=1239843773.3638.2.camel@localhost.localdomain \
--to=yakui.zhao@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hmh@hmh.eng.br \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=niel.lambrechts@gmail.com \
/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