Commit e42de47
committed
drm/amd/display: Only read ACPI backlight caps once
JIRA: https://issues.redhat.com/browse/RHEL-75958
commit cd711c87c2862be5e71eee79901f94e1c943f9fc
Author: Mario Limonciello <mario.limonciello@amd.com>
Date: Thu May 29 11:33:44 2025 -0500
drm/amd/display: Only read ACPI backlight caps once
commit ffcaed1 upstream.
[WHY]
Backlight caps are read already in amdgpu_dm_update_backlight_caps().
They may be updated by update_connector_ext_caps(). Reading again when
registering backlight device may cause wrong values to be used.
[HOW]
Use backlight caps already registered to the dm.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 148144f)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: José Expósito <jexposit@redhat.com>1 parent e7a6a3f commit e42de47
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4832 | 4832 | | |
4833 | 4833 | | |
4834 | 4834 | | |
4835 | | - | |
| 4835 | + | |
4836 | 4836 | | |
4837 | 4837 | | |
4838 | 4838 | | |
| |||
4846 | 4846 | | |
4847 | 4847 | | |
4848 | 4848 | | |
4849 | | - | |
4850 | | - | |
| 4849 | + | |
| 4850 | + | |
4851 | 4851 | | |
4852 | | - | |
| 4852 | + | |
4853 | 4853 | | |
4854 | | - | |
| 4854 | + | |
4855 | 4855 | | |
4856 | 4856 | | |
4857 | 4857 | | |
4858 | | - | |
| 4858 | + | |
4859 | 4859 | | |
4860 | 4860 | | |
4861 | 4861 | | |
4862 | | - | |
| 4862 | + | |
4863 | 4863 | | |
4864 | 4864 | | |
4865 | 4865 | | |
| |||
0 commit comments