diff mbox

ACPI / video: Add a quirk to force acpi-video backlight on SAMSUNG 530U4E/540U4E

Message ID 5683677C.1030407@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show

Commit Message

Aaron Lu Dec. 30, 2015, 5:11 a.m. UTC
The native interface on SAMSUNG 530U4E/540U4E doesn't work even though
the firmware claims Win8 compatible while the acpi_video interface
works, add a quirk for this.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=108971
Reported-and-tested-by: adam bk <adamdd55@gmail.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
---
 drivers/acpi/video_detect.c | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Rafael J. Wysocki Jan. 3, 2016, 12:36 a.m. UTC | #1
On Wednesday, December 30, 2015 01:11:24 PM Aaron Lu wrote:
> The native interface on SAMSUNG 530U4E/540U4E doesn't work even though
> the firmware claims Win8 compatible while the acpi_video interface
> works, add a quirk for this.
> 
> Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=108971
> Reported-and-tested-by: adam bk <adamdd55@gmail.com>
> Signed-off-by: Aaron Lu <aaron.lu@intel.com>

Applied, thanks!

> ---
>  drivers/acpi/video_detect.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
> index daaf1c4e1e0f..518f9cdc929d 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -250,6 +250,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
>  		DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"),
>  		},
>  	},
> +	{
> +	 /* https://bugzilla.kernel.org/show_bug.cgi?id=108971 */
> +	 .callback = video_detect_force_video,
> +	 .ident = "SAMSUNG 530U4E/540U4E",
> +	 .matches = {
> +		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
> +		DMI_MATCH(DMI_PRODUCT_NAME, "530U4E/540U4E"),
> +		},
> +	},
>  
>  	/* Non win8 machines which need native backlight nevertheless */
>  	{
>
diff mbox

Patch

diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index daaf1c4e1e0f..518f9cdc929d 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -250,6 +250,15 @@  static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"),
 		},
 	},
+	{
+	 /* https://bugzilla.kernel.org/show_bug.cgi?id=108971 */
+	 .callback = video_detect_force_video,
+	 .ident = "SAMSUNG 530U4E/540U4E",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "530U4E/540U4E"),
+		},
+	},
 
 	/* Non win8 machines which need native backlight nevertheless */
 	{