Skip to content

platform/x86: asus-armoury: reorganize visibility and extend dgpu_disable

Denis Benato lkml platform-driver-x86 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform/x86: asus-armoury: move has_valid_limit() above the attribute declarationsdrivers/platform/x86/asus-armoury.c+38 -380 replies
2/4platform/x86: asus-armoury: let attribute groups decide their own visibilitydrivers/platform/x86/asus-armoury.c drivers/platform/x86/asus-armoury.h+175 -1530 replies
3/4platform/x86: asus-armoury: add dGPU disable fallback DEVID for ProArt H7606 seriesdrivers/platform/x86/asus-armoury.c include/linux/platform_data/x86/asus-wmi.h+5 -00 replies
4/4platform/x86: asus-armoury: use sysfs_create_groups() and sysfs_remove_groups()drivers/platform/x86/asus-armoury.c+10 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] platform/x86: asus-armoury: reorganize visibility and extend dgpu_disable

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.

Changelog:

Link v1: https://lore.kernel.org/all/[email protected]/
Link v2: https://lore.kernel.org/all/[email protected]/

- 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 <[email protected]>

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(-)
Signature · 1 line
2.47.3