public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on Samsung 670Z5E
@ 2018-03-19 17:01 Hans de Goede
  2018-03-22 23:24 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2018-03-19 17:01 UTC (permalink / raw)
  To: Rafael J . Wysocki, Len Brown; +Cc: Hans de Goede, linux-acpi, stable

Just like many other Samsung models, the 670Z5E needs to use the acpi-video
backlight interface rather then the native one for backlight control to
work, add a quirk for this.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1557060
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 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 601e5d372887..43587ac680e4 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -219,6 +219,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 			  "3570R/370R/470R/450R/510R/4450RV"),
 		},
 	},
+	{
+	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1557060 */
+	 .callback = video_detect_force_video,
+	 .ident = "SAMSUNG 670Z5E",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "670Z5E"),
+		},
+	},
 	{
 	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */
 	 .callback = video_detect_force_video,
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on Samsung 670Z5E
  2018-03-19 17:01 [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on Samsung 670Z5E Hans de Goede
@ 2018-03-22 23:24 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2018-03-22 23:24 UTC (permalink / raw)
  To: Hans de Goede; +Cc: Len Brown, linux-acpi, stable

On Monday, March 19, 2018 6:01:45 PM CET Hans de Goede wrote:
> Just like many other Samsung models, the 670Z5E needs to use the acpi-video
> backlight interface rather then the native one for backlight control to
> work, add a quirk for this.
> 
> Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1557060
> Cc: stable@vger.kernel.org
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  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 601e5d372887..43587ac680e4 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -219,6 +219,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
>  			  "3570R/370R/470R/450R/510R/4450RV"),
>  		},
>  	},
> +	{
> +	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1557060 */
> +	 .callback = video_detect_force_video,
> +	 .ident = "SAMSUNG 670Z5E",
> +	 .matches = {
> +		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
> +		DMI_MATCH(DMI_PRODUCT_NAME, "670Z5E"),
> +		},
> +	},
>  	{
>  	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */
>  	 .callback = video_detect_force_video,
> 

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-22 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-19 17:01 [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on Samsung 670Z5E Hans de Goede
2018-03-22 23:24 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox