* [patch for 2.6.35? 1/1] acpi: video: fix acpi_backlight=video
@ 2010-05-24 19:10 akpm
2010-05-25 0:53 ` Len Brown
0 siblings, 1 reply; 4+ messages in thread
From: akpm @ 2010-05-24 19:10 UTC (permalink / raw)
To: lenb
Cc: linux-acpi, akpm, kamal, bjorn.helgaas, jkosina, rui.zhang,
stable, trenn
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>
Acked-by: Thomas Renninger <trenn@suse.de>
Cc: Thomas Renninger <trenn@suse.de>
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
@@ -266,7 +266,7 @@ static int __init acpi_display_output(ch
ACPI_VIDEO_OUTPUT_SWITCHING_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] 4+ messages in thread* Re: [patch for 2.6.35? 1/1] acpi: video: fix acpi_backlight=video
2010-05-24 19:10 [patch for 2.6.35? 1/1] acpi: video: fix acpi_backlight=video akpm
@ 2010-05-25 0:53 ` Len Brown
2010-05-24 22:22 ` Andrew Morton
0 siblings, 1 reply; 4+ messages in thread
From: Len Brown @ 2010-05-25 0:53 UTC (permalink / raw)
To: akpm; +Cc: linux-acpi, kamal, bjorn.helgaas, jkosina, rui.zhang, stable,
trenn
yes, it is in acpi-test and linux-next, do you pull those into mm still?
thanks,
Len Brown, Intel Open Source Technology Center
On Mon, 24 May 2010, 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.
>
> 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>
> Acked-by: Thomas Renninger <trenn@suse.de>
> Cc: Thomas Renninger <trenn@suse.de>
> 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
> @@ -266,7 +266,7 @@ static int __init acpi_display_output(ch
> ACPI_VIDEO_OUTPUT_SWITCHING_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] 4+ messages in thread* Re: [patch for 2.6.35? 1/1] acpi: video: fix acpi_backlight=video
2010-05-25 0:53 ` Len Brown
@ 2010-05-24 22:22 ` Andrew Morton
2010-05-28 20:15 ` Len Brown
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2010-05-24 22:22 UTC (permalink / raw)
To: Len Brown
Cc: linux-acpi, kamal, bjorn.helgaas, jkosina, rui.zhang, stable,
trenn
On Mon, 24 May 2010 20:53:51 -0400 (EDT) Len Brown <lenb@kernel.org> wrote:
>
> On Mon, 24 May 2010, 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.
> >
> > 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>
> > Acked-by: Thomas Renninger <trenn@suse.de>
> > Cc: Thomas Renninger <trenn@suse.de>
> > 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
> > @@ -266,7 +266,7 @@ static int __init acpi_display_output(ch
> > ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR;
> > if (!strcmp("video", str))
> > acpi_video_support |=
> > - ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO;
> > + ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO;
> > }
> > return 1;
> > }
>
> yes, it is in acpi-test and linux-next, do you pull those into mm still?
>
(top-posting repaired!)
linux-next changes acpi_backlight(). In my tree patch(1) decided to
migrate the hunk into acpi_display_output().
Please check that acpi_display_output() didn't need the same change.
I'll drop the patch, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [patch for 2.6.35? 1/1] acpi: video: fix acpi_backlight=video
2010-05-24 22:22 ` Andrew Morton
@ 2010-05-28 20:15 ` Len Brown
0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2010-05-28 20:15 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-acpi, kamal, bjorn.helgaas, jkosina, rui.zhang, stable,
trenn
> > > 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
> > > @@ -266,7 +266,7 @@ static int __init acpi_display_output(ch
> > > ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR;
> > > if (!strcmp("video", str))
> > > acpi_video_support |=
> > > - ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO;
> > > + ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO;
> > > }
> > > return 1;
> linux-next changes acpi_backlight(). In my tree patch(1) decided to
> migrate the hunk into acpi_display_output().
I think the hunk got mis-relocated in your tree,
and that the correct patch is included in the acpi tree.
> Please check that acpi_display_output() didn't need the same change.
It looks okay.
> I'll drop the patch, thanks.
thanks,
-Len
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-28 20:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 19:10 [patch for 2.6.35? 1/1] acpi: video: fix acpi_backlight=video akpm
2010-05-25 0:53 ` Len Brown
2010-05-24 22:22 ` Andrew Morton
2010-05-28 20:15 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox