diff mbox

acpi-video: Add disable_native_backlight quirk for Samsung 730U3E/740U3E

Message ID 1420816381-12394-1-git-send-email-hdegoede@redhat.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Hans de Goede Jan. 9, 2015, 3:13 p.m. UTC
The Samsung 730U3E/740U3E has integrated ATI Radeon graphics, and backlight
control does not work properly when using the native interfaces.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1094948
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/acpi/video.c | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Hans de Goede Jan. 9, 2015, 3:18 p.m. UTC | #1
Hi,

On 09-01-15 16:13, Hans de Goede wrote:
> The Samsung 730U3E/740U3E has integrated ATI Radeon graphics, and backlight
> control does not work properly when using the native interfaces.
>
> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1094948
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Self-NAK, this one is no good, sorry, v2 coming up.

Regards,

Hans

> ---
>   drivers/acpi/video.c | 9 +++++++++
>   1 file changed, 9 insertions(+)
>
> diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
> index 032db45..e641268 100644
> --- a/drivers/acpi/video.c
> +++ b/drivers/acpi/video.c
> @@ -522,6 +522,15 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
>   		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 */
>
--
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
diff mbox

Patch

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 032db45..e641268 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -522,6 +522,15 @@  static struct dmi_system_id video_dmi_table[] __initdata = {
 		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 */