mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/4] platform/x86: asus-armoury: reorganize visibility and extend dgpu_disable
@ 2026-09-25 14:42 Denis Benato
  2026-09-25 14:42 ` [PATCH v3 1/4] platform/x86: asus-armoury: move has_valid_limit() above the attribute declarations Denis Benato
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Denis Benato @ 2026-09-25 14:42 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: linux-kernel, Ilpo Järvinen, Hans de Goede, Corentin Chary,
	Luke Jones, busybox11, Denis Benato, Denis Benato

Hi all,

This patchset reorganizes the visibility of attribute groups in the Asus
Armoury driver and extends the dGPU disable functionality with a fallback
DEVID for the ProArt H7606 series.

This good idea comes from Ilpo and this patchset is the result of our
productive exchange (link below).

The original author of the patch has stated that he/she wants to remain
anonymous, and asked me to respect that, therefore I will only reuse
the DEVID information from that patch and the commit text as everything
else has become irrelevant anyway after the reorganization of the driver.

Link: https://lore.kernel.org/all/20260810-asus_armoury_dgpu_new_devid-v1-1-0a5c845414e4@gmail.com/

Changelog:

Link v1: https://lore.kernel.org/all/20260916154210.181441-1-denis.benato@linux.dev/
Link v2: https://lore.kernel.org/all/20260923004706.41256-1-denis.benato@linux.dev/

- v2
  - platform/x86: asus-armoury: let attribute groups decide their own visibility
    - simplify the .c source of the driver making extensive use of .is_visible

- v3:
  - platform/x86: asus-armoury: let attribute groups decide their own visibility
    - move the moving of a function in its own patch
  - platform/x86: asus-armoury: use sysfs_create_groups()
    - replace individual sysfs_create_file() calls with sysfs_create_groups()

Cc: busybox11 <busybox11th@gmail.com>

Denis Benato (4):
  platform/x86: asus-armoury: move has_valid_limit() above the attribute
    declarations
  platform/x86: asus-armoury: let attribute groups decide their own
    visibility
  platform/x86: asus-armoury: add dGPU disable fallback DEVID for ProArt
    H7606 series
  platform/x86: asus-armoury: use sysfs_create_groups() and
    sysfs_remove_groups()

 drivers/platform/x86/asus-armoury.c        | 284 ++++++++-------------
 drivers/platform/x86/asus-armoury.h        | 124 +++++++--
 include/linux/platform_data/x86/asus-wmi.h |   3 +
 3 files changed, 215 insertions(+), 196 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-25 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 14:42 [PATCH v3 0/4] platform/x86: asus-armoury: reorganize visibility and extend dgpu_disable Denis Benato
2026-09-25 14:42 ` [PATCH v3 1/4] platform/x86: asus-armoury: move has_valid_limit() above the attribute declarations Denis Benato
2026-09-25 14:42 ` [PATCH v3 2/4] platform/x86: asus-armoury: let attribute groups decide their own visibility Denis Benato
2026-09-25 14:42 ` [PATCH v3 3/4] platform/x86: asus-armoury: add dGPU disable fallback DEVID for ProArt H7606 series Denis Benato
2026-09-25 14:42 ` [PATCH v3 4/4] platform/x86: asus-armoury: use sysfs_create_groups() and sysfs_remove_groups() Denis Benato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®