[x86] ACPI / video: Add disable_native_backlight quirk for various Samsung models and Dell XPS15 L521X (Closes: #772440)
svn path=/dists/sid/linux/; revision=22431
This commit is contained in:
parent
30d5866ed6
commit
2826e488d1
|
@ -176,6 +176,8 @@ linux (3.16.7-ckt7-1) UNRELEASED; urgency=medium
|
|||
* perf: Fix ABI change in 3.16.7-ckt6
|
||||
* mm: Fix pagecache_get_page() ABI change in 3.16.7-ckt6
|
||||
* tcp: Fix ABI change in 3.16.7-ckt7
|
||||
* [x86] ACPI / video: Add disable_native_backlight quirk for various
|
||||
Samsung models and Dell XPS15 L521X (Closes: #772440)
|
||||
|
||||
[ Helge Deller ]
|
||||
* [alpha] build debian-installer udeb packages
|
||||
|
|
34
debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-dell-xps15.patch
vendored
Normal file
34
debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-dell-xps15.patch
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
From: Hans de Goede <hdegoede@redhat.com>
|
||||
Date: Mon, 5 Jan 2015 08:57:04 +0100
|
||||
Subject: ACPI / video: Add disable_native_backlight quirk for Dell XPS15 L521X
|
||||
Origin: https://git.kernel.org/linus/6a3ef10bacb08860805e9053f919786dc34760ba
|
||||
|
||||
The L521X variant of the Dell XPS15 has integrated nvidia graphics, and
|
||||
backlight control does not work properly when using the native interfaces.
|
||||
|
||||
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1163574
|
||||
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
||||
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
||||
---
|
||||
drivers/acpi/video.c | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
--- a/drivers/acpi/video.c
|
||||
+++ b/drivers/acpi/video.c
|
||||
@@ -711,6 +711,16 @@ static struct dmi_system_id video_dmi_ta
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
|
||||
},
|
||||
},
|
||||
+
|
||||
+ {
|
||||
+ /* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */
|
||||
+ .callback = video_disable_native_backlight,
|
||||
+ .ident = "Dell XPS15 L521X",
|
||||
+ .matches = {
|
||||
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
|
||||
+ DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"),
|
||||
+ },
|
||||
+ },
|
||||
{}
|
||||
};
|
||||
|
35
debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-510r.patch
vendored
Normal file
35
debian/patches/bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-510r.patch
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
From: Hans de Goede <hdegoede@redhat.com>
|
||||
Date: Sat, 7 Feb 2015 09:53:53 +0100
|
||||
Subject: ACPI / video: Add disable_native_backlight quirk for Samsung 510R
|
||||
Origin: https://git.kernel.org/linus/e77a16355a29230b99bafe55834a8252e55308ec
|
||||
|
||||
Backlight control through the native intel interface does not work properly
|
||||
on the Samsung 510R, where as using the acpi_video interface does work, add
|
||||
a quirk for this.
|
||||
|
||||
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1186097
|
||||
Cc: All applicable <stable@vger.kernel.org>
|
||||
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
||||
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
||||
---
|
||||
drivers/acpi/video.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
--- a/drivers/acpi/video.c
|
||||
+++ b/drivers/acpi/video.c
|
||||
@@ -712,6 +712,15 @@ static struct dmi_system_id video_dmi_ta
|
||||
},
|
||||
},
|
||||
{
|
||||
+ /* https://bugzilla.redhat.com/show_bug.cgi?id=1186097 */
|
||||
+ .callback = video_disable_native_backlight,
|
||||
+ .ident = "SAMSUNG 3570R/370R/470R/450R/510R/4450RV",
|
||||
+ .matches = {
|
||||
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
|
||||
+ DMI_MATCH(DMI_PRODUCT_NAME, "3570R/370R/470R/450R/510R/4450RV"),
|
||||
+ },
|
||||
+ },
|
||||
+ {
|
||||
/* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */
|
||||
.callback = video_disable_native_backlight,
|
||||
.ident = "SAMSUNG 730U3E/740U3E",
|
|
@ -0,0 +1,34 @@
|
|||
From: Hans de Goede <hdegoede@redhat.com>
|
||||
Date: Fri, 9 Jan 2015 16:22:57 +0100
|
||||
Subject: ACPI / video: Add disable_native_backlight quirk for Samsung
|
||||
730U3E/740U3E
|
||||
Origin: https://git.kernel.org/linus/3295d73002f4be341069a000aec4b8d7e5ea8d2c
|
||||
|
||||
The Samsung 730U3E/740U3E has integrated ATI Radeon graphics, and backlight
|
||||
control does not work properly when using the native interfaces.
|
||||
|
||||
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1094948
|
||||
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
||||
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
||||
---
|
||||
drivers/acpi/video.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
--- a/drivers/acpi/video.c
|
||||
+++ b/drivers/acpi/video.c
|
||||
@@ -711,6 +711,15 @@ static struct dmi_system_id video_dmi_ta
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
|
||||
},
|
||||
},
|
||||
+ {
|
||||
+ /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */
|
||||
+ .callback = video_disable_native_backlight,
|
||||
+ .ident = "SAMSUNG 730U3E/740U3E",
|
||||
+ .matches = {
|
||||
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
|
||||
+ DMI_MATCH(DMI_PRODUCT_NAME, "730U3E/740U3E"),
|
||||
+ },
|
||||
+ },
|
||||
|
||||
{
|
||||
/* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */
|
52
debian/patches/bugfix/x86/acpi-video-add-some-samsung-models-to-disable_native.patch
vendored
Normal file
52
debian/patches/bugfix/x86/acpi-video-add-some-samsung-models-to-disable_native.patch
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
From: Aaron Lu <aaron.lu@intel.com>
|
||||
Date: Mon, 22 Dec 2014 15:18:05 +0800
|
||||
Subject: ACPI / video: Add some Samsung models to disable_native_backlight
|
||||
list
|
||||
Origin: https://git.kernel.org/linus/7d0b93499f4879ddbc75d594f4ea216ba964f78e
|
||||
|
||||
Several Samsung laptop models (SAMSUNG 870Z5E/880Z5E/680Z5E and
|
||||
SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V) do not have a working
|
||||
native backlight control interface so restore their acpi_videoX
|
||||
interface.
|
||||
|
||||
Link: https://bugzilla.kernel.org/show_bug.cgi?id=84221
|
||||
Link: https://bugzilla.kernel.org/show_bug.cgi?id=84651
|
||||
For SAMSUNG 870Z5E/880Z5E/680Z5E:
|
||||
Reported-and-tested-by: Brent Saner <brent.saner@gmail.com>
|
||||
Reported-by: Vitaliy Filippov <vitalif@yourcmc.ru>
|
||||
Reported-by: Laszlo KREKACS <laszlo.krekacs.list@gmail.com>
|
||||
For SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V:
|
||||
Reported-by: Vladimir Perepechin <vovochka13@gmail.com>
|
||||
Cc: 3.17+ <stable@vger.kernel.org> # 3.17+
|
||||
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
|
||||
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
||||
---
|
||||
drivers/acpi/video.c | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
--- a/drivers/acpi/video.c
|
||||
+++ b/drivers/acpi/video.c
|
||||
@@ -694,6 +694,23 @@ static struct dmi_system_id video_dmi_ta
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "HP ENVY 15 Notebook PC"),
|
||||
},
|
||||
},
|
||||
+
|
||||
+ {
|
||||
+ .callback = video_disable_native_backlight,
|
||||
+ .ident = "SAMSUNG 870Z5E/880Z5E/680Z5E",
|
||||
+ .matches = {
|
||||
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
|
||||
+ DMI_MATCH(DMI_PRODUCT_NAME, "870Z5E/880Z5E/680Z5E"),
|
||||
+ },
|
||||
+ },
|
||||
+ {
|
||||
+ .callback = video_disable_native_backlight,
|
||||
+ .ident = "SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V",
|
||||
+ .matches = {
|
||||
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
|
||||
+ DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
|
||||
+ },
|
||||
+ },
|
||||
{}
|
||||
};
|
||||
|
46
debian/patches/bugfix/x86/acpi-video-disable-native-backlight-on-samsung-series-9.patch
vendored
Normal file
46
debian/patches/bugfix/x86/acpi-video-disable-native-backlight-on-samsung-series-9.patch
vendored
Normal file
|
@ -0,0 +1,46 @@
|
|||
From: Jens Reyer <jens.reyer@gmail.com>
|
||||
Date: Tue, 17 Feb 2015 19:07:29 +0100
|
||||
Subject: ACPI / video: Disable native backlight on Samsung Series 9 laptops
|
||||
Origin: https://git.kernel.org/linus/3120d03cf64d7f9fd71231827af2c1550aa4caa7
|
||||
|
||||
Add video_disable_native_backlight quirk for SAMSUNG 900X3C/900X3D/
|
||||
900X3E/900X4C/900X4D laptops.
|
||||
|
||||
The native intel backlight controls do not work correctly on SAMSUNG
|
||||
Series 9 (900X3C/900X3D/900X3E/900X4C/900X4D) laptops:
|
||||
One machine has an completely dimmed (= black) display after boot at the
|
||||
GDM login screen and brightness controls work only between 0 and 5%
|
||||
(= no effect).
|
||||
Another machine has the same brightness control issues if an external
|
||||
HDMI monitor is or gets connected, although the initial brightness is
|
||||
ok.
|
||||
After login to Gnome both machines always work fine.
|
||||
|
||||
Tested on both machines.
|
||||
|
||||
Link: https://bugs.freedesktop.org/show_bug.cgi?id=87286
|
||||
Link: https://bugs.debian.org/772440
|
||||
Signed-off-by: Jens Reyer <jens.reyer@gmail.com>
|
||||
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
||||
---
|
||||
drivers/acpi/video.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
--- a/drivers/acpi/video.c
|
||||
+++ b/drivers/acpi/video.c
|
||||
@@ -729,6 +729,15 @@ static struct dmi_system_id video_dmi_ta
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "730U3E/740U3E"),
|
||||
},
|
||||
},
|
||||
+ {
|
||||
+ /* https://bugs.freedesktop.org/show_bug.cgi?id=87286 */
|
||||
+ .callback = video_disable_native_backlight,
|
||||
+ .ident = "SAMSUNG 900X3C/900X3D/900X3E/900X4C/900X4D",
|
||||
+ .matches = {
|
||||
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
|
||||
+ DMI_MATCH(DMI_PRODUCT_NAME, "900X3C/900X3D/900X3E/900X4C/900X4D"),
|
||||
+ },
|
||||
+ },
|
||||
|
||||
{
|
||||
/* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */
|
|
@ -516,3 +516,8 @@ debian/rmap-fix-abi-change-in-3.16.7-ckt5.patch
|
|||
debian/perf-fix-abi-change-in-3.16.7-ckt6.patch
|
||||
debian/mm-fix-pagecache_get_page-abi-change-in-3.16.7-ckt6.patch
|
||||
debian/tcp-fix-abi-change-in-3.16.7-ckt7.patch
|
||||
bugfix/x86/acpi-video-add-some-samsung-models-to-disable_native.patch
|
||||
bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-dell-xps15.patch
|
||||
bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-730u3e-740u3e.patch
|
||||
bugfix/x86/acpi-video-add-disable_native_backlight-quirk-for-samsung-510r.patch
|
||||
bugfix/x86/acpi-video-disable-native-backlight-on-samsung-series-9.patch
|
||||
|
|
Loading…
Reference in New Issue