platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Luke D. Jones" <luke@ljones.dev>
To: hdegoede@redhat.com
Cc: markgross@kernel.org, platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, "Luke D. Jones" <luke@ljones.dev>
Subject: [PATCH 0/6] asus-wmi: cleanup dgpu_disable, egpu_enable, panel_od
Date: Sat, 13 Aug 2022 10:25:03 +1200	[thread overview]
Message-ID: <20220812222509.292692-1-luke@ljones.dev> (raw)

This patch series does two things for previously added features:
- dgpu_disable
- egpu_enable
- panel_od

The fixes add missing documentation, and the refactors vastly clean up how
the features work, including reading the values from WMI methods on *_show()
and checking the result correctly (these methods return 1 on success).

Luke D. Jones (6):
  Fixes 98829e84dc67 ("asus-wmi: Add dgpu disable method")
  Fixes: 382b91db8044 ("asus-wmi: Add egpu enable method")
  Fixes: ca91ea34778f ("asus-wmi: Add panel overdrive functionality")
  asus-wmi: Refactor disable_gpu attribute
  asus-wmi: Refactor egpu_enable attribute
  asus-wmi: Refactor panel_od attribute

 .../ABI/testing/sysfs-platform-asus-wmi       |  28 +++
 drivers/platform/x86/asus-wmi.c               | 231 ++++++------------
 2 files changed, 103 insertions(+), 156 deletions(-)

-- 
2.37.1


             reply	other threads:[~2022-08-12 22:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-12 22:25 Luke D. Jones [this message]
2022-08-12 22:25 ` [PATCH 1/6] Fixes 98829e84dc67 ("asus-wmi: Add dgpu disable method") Luke D. Jones
2022-08-15 13:25   ` Hans de Goede
2022-08-15 13:40     ` Hans de Goede
2022-08-16  6:23       ` Luke Jones
2022-08-16  6:21     ` Luke Jones
2022-08-12 22:25 ` [PATCH 2/6] Fixes: 382b91db8044 ("asus-wmi: Add egpu enable method") Luke D. Jones
2022-08-12 22:25 ` [PATCH 3/6] Fixes: ca91ea34778f ("asus-wmi: Add panel overdrive functionality") Luke D. Jones
2022-08-12 22:25 ` [PATCH 4/6] asus-wmi: Refactor disable_gpu attribute Luke D. Jones
2022-08-12 22:25 ` [PATCH 5/6] asus-wmi: Refactor egpu_enable attribute Luke D. Jones
2022-08-12 22:25 ` [PATCH 6/6] asus-wmi: Refactor panel_od attribute Luke D. Jones
2022-08-15 15:02 ` [PATCH 0/6] asus-wmi: cleanup dgpu_disable, egpu_enable, panel_od Hans de Goede

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=20220812222509.292692-1-luke@ljones.dev \
    --to=luke@ljones.dev \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markgross@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).