2023-04-26 11:44:25 |
AceLan Kao |
bug |
|
|
added bug |
2023-04-26 11:44:34 |
AceLan Kao |
nominated for series |
|
Ubuntu Jammy |
|
2023-04-26 11:44:34 |
AceLan Kao |
bug task added |
|
linux-oem-6.0 (Ubuntu Jammy) |
|
2023-04-26 11:44:42 |
AceLan Kao |
linux-oem-6.0 (Ubuntu Jammy): status |
New |
In Progress |
|
2023-04-26 11:44:48 |
AceLan Kao |
linux-oem-6.0 (Ubuntu): status |
New |
Invalid |
|
2023-04-26 11:44:51 |
AceLan Kao |
linux-oem-6.0 (Ubuntu Jammy): assignee |
|
AceLan Kao (acelankao) |
|
2023-04-26 11:45:28 |
AceLan Kao |
bug |
|
|
added subscriber Canonical Hardware Enablement |
2023-04-26 11:45:32 |
AceLan Kao |
tags |
|
oem-priority originate-from-2013207 somerville |
|
2023-04-27 07:37:29 |
AceLan Kao |
description |
[Impact]
[Fix]
[Test]
[Where problem could occur] |
[Impact]
When switched to discrete mode in the BIOS, nvidia driver will create its own backlight interface(nvidia_0) to control the backlight, but at the same time dell-laptop creates its own backlight interface(dell_backlight), too. In discrete mode, dell_backlight interface doesn't work, and it leads to gnome chooses the wrong interface(dell_backlight) to control the backlight and then leads to the issue.
[Fix]
The acpi_video_backlight_use_native() helper function is introduced after v6.1 and nvidia driver will call this function if kernel provides it. This helper tells video_detect module that nvidia controls the backlight, so that dell-laptop won't create another backlight interface when it's loaded
Below commits are all from v6.1-rc1
fb1836c91317 ACPI: video: Prefer native over vendor
a5df42521f32 ACPI: video: Simplify __acpi_video_get_backlight_type()454d61a56d5e ACPI: video: Make acpi_video_backlight_use_native() always return true
b39be9f441f9 ACPI: video: Refactor acpi_video_get_backlight_type() a bit
a2fc3c899bb0 ACPI: video: Drop backlight_device_get_by_type() call from acpi_video_get_backlight_type()
2600bfa3df99 ACPI: video: Add acpi_video_backlight_use_native() helper
[Test]
Verified on the target machine and confirmed dell_backlight interface is not generated.
[Where problem could occur]
All changes are in __acpi_video_get_backlight_type() function and to make it smarter to decide which type of backlight interface should be created. The final result is pretty similar to the latest mainline version, if it introduce any regression we can add quirk to list those misjudged machines. |
|
2023-04-27 09:06:47 |
Timo Aaltonen |
bug task added |
|
linux (Ubuntu) |
|
2023-04-27 09:06:52 |
Timo Aaltonen |
linux (Ubuntu Jammy): status |
New |
Invalid |
|
2023-04-27 09:06:55 |
Timo Aaltonen |
linux (Ubuntu): status |
New |
Fix Released |
|
2023-05-03 16:05:48 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-2013207 somerville |
kernel-spammed-jammy-linux-oem-6.0 oem-priority originate-from-2013207 somerville verification-needed-jammy |
|
2023-05-08 09:10:41 |
AceLan Kao |
tags |
kernel-spammed-jammy-linux-oem-6.0 oem-priority originate-from-2013207 somerville verification-needed-jammy |
kernel-spammed-jammy-linux-oem-6.0 oem-priority originate-from-2013207 somerville verification-done-jammy |
|
2023-05-18 03:41:54 |
Launchpad Janitor |
linux-oem-6.0 (Ubuntu Jammy): status |
In Progress |
Fix Released |
|
2023-05-18 03:41:54 |
Launchpad Janitor |
cve linked |
|
2022-4139 |
|