Message ID | 20230427074116.188543-3-acelan.kao@canonical.com |
---|---|
State | New |
Headers | show |
Series | both dell_backlight and nvidia_0 backlight interface appear, and can't adjust the display brightness | expand |
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 5f620054bff4..37c42d671930 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -672,8 +672,7 @@ static enum acpi_backlight_type __acpi_video_get_backlight_type(bool native) if (!(video_caps & ACPI_VIDEO_BACKLIGHT)) return acpi_backlight_vendor; - if (acpi_osi_is_win8() && - (native_available || backlight_device_get_by_type(BACKLIGHT_RAW))) + if (acpi_osi_is_win8() && native_available) return acpi_backlight_native; return acpi_backlight_video;