From: sashiko-bot@kernel.org
To: "Armin Wolf" <W_Armin@gmx.de>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v3 2/3] ACPI: video: Remove CONFIG_X86 handling from nvidia_wmi_ec_supported()
Date: Fri, 24 Jul 2026 03:14:58 +0000 [thread overview]
Message-ID: <20260724031459.634E51F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260724025959.142826-3-W_Armin@gmx.de>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Incomplete refactoring: nouveau driver omitted from ACPI_VIDEO and ACPI_WMI Kconfig updates.
--
--- Patch [2]: [PATCH v3 2/3] ACPI: video: Remove CONFIG_X86 handling from nvidia_wmi_ec_supported() ---
commit a642691d3c901391482edfbe3099e7d703a15135
Author: Armin Wolf <W_Armin@gmx.de>
ACPI: video: Remove CONFIG_X86 handling from nvidia_wmi_ec_supported()
This commit removes the X86 architecture dependency from video-detect
and updates multiple DRM drivers to select ACPI_WMI and ACPI_VIDEO
without requiring X86. This allows the WMI-ACPI driver to support
other architectures.
[ ... ]
> diff --git a/drivers/gpu/drm/amd/amdgpu/Kconfig b/drivers/gpu/drm/amd/amdgpu/Kconfig
> index 12e4a41bf1f04..50305630f5335 100644
> --- a/drivers/gpu/drm/amd/amdgpu/Kconfig
> +++ b/drivers/gpu/drm/amd/amdgpu/Kconfig
> @@ -30,9 +30,7 @@ config DRM_AMDGPU
> # ACPI_VIDEO's dependencies must also be selected.
> select INPUT if ACPI
> select ACPI_VIDEO if ACPI
> - # On x86 ACPI_VIDEO also needs ACPI_WMI
> - select X86_PLATFORM_DEVICES if ACPI && X86
> - select ACPI_WMI if ACPI && X86
> + select ACPI_WMI if ACPI
> help
> Choose this option if you have a recent AMD Radeon graphics card.
[Severity: Medium]
Should the nouveau DRM driver's Kconfig also be updated to remove the X86
dependency for these options?
While this patch successfully updates amdgpu, gma500, i915, radeon, and xe,
it appears DRM_NOUVEAU was omitted. In drivers/gpu/drm/nouveau/Kconfig, it
currently retains the architecture-specific checks:
config DRM_NOUVEAU
...
select ACPI_WMI if ACPI && X86
...
# Similar to i915, we need to select ACPI_VIDEO and it's dependencies
select BACKLIGHT_CLASS_DEVICE if ACPI && X86
select INPUT if ACPI && X86
select THERMAL if ACPI && X86
select ACPI_VIDEO if ACPI && X86
Does this omission mean nouveau will fail to automatically select ACPI_VIDEO
and its dependencies on non-x86 architectures, leading to a loss of
out-of-the-box ACPI backlight and WMI functionality compared to the other
DRM drivers?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260724025959.142826-1-W_Armin@gmx.de?part=2
next prev parent reply other threads:[~2026-07-24 3:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 2:59 [PATCH v3 0/3] platform/wmi: Add aarch64 support Armin Wolf
2026-07-24 2:59 ` [PATCH v3 1/3] platform/wmi: Remove dependency on CONFIG_X86 Armin Wolf
2026-07-24 2:59 ` [PATCH v3 2/3] ACPI: video: Remove CONFIG_X86 handling from nvidia_wmi_ec_supported() Armin Wolf
2026-07-24 3:14 ` sashiko-bot [this message]
2026-09-01 21:30 ` Deucher, Alexander
2026-09-02 17:00 ` Armin Wolf
2026-07-24 2:59 ` [PATCH v3 3/3] platform/x86: wmi-bmof: Move to generic WMI code Armin Wolf
2026-08-07 21:03 ` [PATCH v3 0/3] platform/wmi: Add aarch64 support Armin Wolf
2026-09-01 20:17 ` Armin Wolf
2026-09-02 9:27 ` Ilpo Järvinen
2026-09-02 16:58 ` Armin Wolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260724031459.634E51F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=W_Armin@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox