forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit5928c28
ACPI / video: Default lcd_only to true on Win8-ready and newer machines
We're seeing a lot of bogus backlight interfaces on newer machines withouta LCD such as desktops, servers and HDMI sticks. This causes userspace toshow a non-functional brightness slider in e.g. the GNOME3 system menu,which is undesirable. And, in general, we should simply just not registera non functional backlight interface.Checking the LCD flag causes the bogus acpi_video backlight interfaces togo away (on the machines this was tested on).This change sets the lcd_only option by default on any machines whichare Win8-ready, to fix this.This is not entirely without a risk of regressions, but video_detect.calready prefers native-backlight interfaces over the acpi_video oneon Win8-ready machines, calling acpi_video_unregister_backlight() as soonas a native interface shows up. This is done because the ACPI backlightinterface often is broken on Win8-ready machines, because win8 does notseem to actually use it.So in practice we already end up not registering the ACPI backlightinterface on (most) Win8-ready machines with a LCD panel, thus thischange does not change anything for (most) machines with a LCD paneland on machines without a LCD panel we actually don't want to registerany backlight interfaces.This has been tested on the following machines and fixes a bogus backlightinterface showing up there: - Desktop with an Asrock B150M Pro4S/D3 m.b. using i5-6500 builtin gfx - Intel Compute Stick STK1AW32SC - Meegopad T08 HDMI stickBogus backlight interfaces have also been reported on: - Desktop with Asus H87I-Plus m.b. - Desktop with ASRock B75M-ITX m.b. - Desktop with Gigabyte Z87-D3HP m.b. - Dell PowerEdge T20 desktopLink:https://bugzilla.redhat.com/show_bug.cgi?id=1097436Link:https://bugzilla.redhat.com/show_bug.cgi?id=1133327Link:https://bugzilla.redhat.com/show_bug.cgi?id=1133329Link:https://bugzilla.redhat.com/show_bug.cgi?id=1133646Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent464e1d5 commit5928c28
1 file changed
+12
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 |
| - | |
84 |
| - | |
| 83 | + | |
| 84 | + | |
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
| |||
2136 | 2136 |
| |
2137 | 2137 |
| |
2138 | 2138 |
| |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
2139 | 2149 |
| |
2140 | 2150 |
| |
2141 | 2151 |
| |
|
0 commit comments
Comments
(0)