* [patch for 2.6.34? 1/1] acpi: video: fix acpi_backlight=video
@ 2010-05-12 22:33 akpm
2010-05-14 13:34 ` Thomas Renninger
2010-05-15 13:29 ` Thomas Renninger
0 siblings, 2 replies; 3+ messages in thread
From: akpm @ 2010-05-12 22:33 UTC (permalink / raw)
To: lenb; +Cc: linux-acpi, akpm, kamal, bjorn.helgaas, jkosina, rui.zhang,
stable
From: Kamal Mostafa <kamal@canonical.com>
Make "acpi_backlight=video" param enable ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO
as intended, instead of incorrectly enabling video output switching.
Addresses http://bugs.launchpad.net/bugs/573120
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/acpi/video_detect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video drivers/acpi/video_detect.c
--- a/drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video
+++ a/drivers/acpi/video_detect.c
@@ -250,7 +250,7 @@ static int __init acpi_backlight(char *s
ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR;
if (!strcmp("video", str))
acpi_video_support |=
- ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO;
+ ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO;
}
return 1;
}
_
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [patch for 2.6.34? 1/1] acpi: video: fix acpi_backlight=video
2010-05-12 22:33 [patch for 2.6.34? 1/1] acpi: video: fix acpi_backlight=video akpm
@ 2010-05-14 13:34 ` Thomas Renninger
2010-05-15 13:29 ` Thomas Renninger
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Renninger @ 2010-05-14 13:34 UTC (permalink / raw)
To: akpm; +Cc: lenb, linux-acpi, kamal, bjorn.helgaas, jkosina, rui.zhang,
stable
On Thursday 13 May 2010 00:33:57 akpm@linux-foundation.org wrote:
> From: Kamal Mostafa <kamal@canonical.com>
>
> Make "acpi_backlight=video" param enable
> ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO
> as intended, instead of incorrectly enabling video output switching.
This one is correct and absolutely safe.
Signed-off-by: Thomas Renninger <trenn@suse.de>
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [patch for 2.6.34? 1/1] acpi: video: fix acpi_backlight=video
2010-05-12 22:33 [patch for 2.6.34? 1/1] acpi: video: fix acpi_backlight=video akpm
2010-05-14 13:34 ` Thomas Renninger
@ 2010-05-15 13:29 ` Thomas Renninger
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Renninger @ 2010-05-15 13:29 UTC (permalink / raw)
To: akpm; +Cc: lenb, linux-acpi, kamal, bjorn.helgaas, jkosina, rui.zhang,
stable
On Thursday 13 May 2010 12:33:57 am akpm@linux-foundation.org wrote:
> From: Kamal Mostafa <kamal@canonical.com>
>
> Make "acpi_backlight=video" param enable ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO
> as intended, instead of incorrectly enabling video output switching.
IIRC the only native driver which takes over backlight switching is panasonic,
because Len saw 2 brightness steps missing.
This one should have been solved by a "compatibility" patch from Rui and
this one could also use video.ko by default.
Still, this one is a safe fix.
Just in case someone wants to avoid the use of this boot param and get
things done right by default (and likes to send a patch for it :)).
Thomas
> Addresses http://bugs.launchpad.net/bugs/573120
>
> Signed-off-by: Kamal Mostafa <kamal@canonical.com>
> Cc: Len Brown <lenb@kernel.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
> Cc: Jiri Kosina <jkosina@suse.cz>
> Cc: <stable@kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/acpi/video_detect.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video
> drivers/acpi/video_detect.c ---
> a/drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video +++
> a/drivers/acpi/video_detect.c
> @@ -250,7 +250,7 @@ static int __init acpi_backlight(char *s
> ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR;
> if (!strcmp("video", str))
> acpi_video_support |=
> - ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO;
> + ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO;
> }
> return 1;
> }
> _
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-15 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 22:33 [patch for 2.6.34? 1/1] acpi: video: fix acpi_backlight=video akpm
2010-05-14 13:34 ` Thomas Renninger
2010-05-15 13:29 ` Thomas Renninger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox