OSDN Git Service

ACPI: video: Remove register_backlight_delay module option and code
authorHans de Goede <hdegoede@redhat.com>
Tue, 4 Apr 2023 11:02:50 +0000 (13:02 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Apr 2023 18:55:46 +0000 (20:55 +0200)
commit67abe9c6a8077819aae490dcd3b9629c2e87bfc2
tree278c9c0a00e5eff5d332bc06290055d08731a577
parent09a9639e56c01c7a00d6c0ca63f4c7c41abe075d
ACPI: video: Remove register_backlight_delay module option and code

Since commit 5aa9d943e9b6 ("ACPI: video: Don't enable fallback path for
creating ACPI backlight by default"), the delayed registering of
acpi_video# backlight devices has been disabled by default.

The few bugreports where this option was used as a workaround were all
cases where the GPU driver did not call acpi_video_register_backlight()
and the workaround was to pass video.register_backlight_delay=1.

With the recent "ACPI: video: Make acpi_backlight=video work independent
from GPU driver" changes acpi_backlight=video can be used to achieve
the same result. So there is no need for the register_backlight_delay
option + code anymore.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_video.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
include/acpi/video.h