All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Blueman <daniel@quora.org>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] Intel Arc A370M vs Linux 5.19
Date: Thu, 15 Sep 2022 22:40:59 +0800	[thread overview]
Message-ID: <CAMVG2svdhBp-UU2L=Zofq2qgzapwvYGbXMZxtOTzK0T+2aLMHw@mail.gmail.com> (raw)
In-Reply-To: <YyMyKsy2XdInzarL@intel.com>

On Thu, 15 Sept 2022 at 22:09, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> On Thu, Sep 15, 2022 at 09:08:08PM +0800, Daniel J Blueman wrote:
> > Dear Intel et al,
> >
> > With a HP Spectre x360 16 16-f1xxx/891D (Intel i7-1260P) with an Arc
> > A370M GPU [1] running the latest Ubuntu 22.10 5.19.0-15-generic
> > kernel, we see:
> >
> > i915 0000:03:00.0: Your graphics device 5693 is not properly supported
> > by the driver in this kernel version. To force driver probe anyway,
> > use i915.force_probe=5693
> >
> > Since the GPU is unmanaged, battery life is around 30% of what it
> > could be. Unsurprisingly, adding i915.force_probe=5693 causes
> > additional  issues. Given a lack of BIOS option to disable the GPU, is
> > there any advice for Linux support or at least putting the GPU into
> > D3? I see only Windows drivers on the official support page [2], and
> > Linux 6.0-rc5 isn't buildable [3].
>
> I believe this is what you are looking for:
>
> echo auto | sudo tee /sys/bus/pci/devices/0000\:03\:00.0/power/control
>
> In Linux the default is to keep the unmanaged devices in D0.
> But changing the rpm to auto should transition the device to D3.
>
> You can go further and check with the lspci -vv if there are other
> unmanaged devices in the same pci root tree and also add them to the
> 'auto' rpm so you can even achieve D3cold in that whole device, what
> gives you extra power savings.
>
> I hope this helps for now.

Yes, I was also hoping this would work as we see D3hot is supported:

# echo auto > /sys/bus/pci/devices/0000\:03\:00.0/power/control
# lspci -vvvs 03:00.0
...
Capabilities: [d0] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
                ^^

However it stays in D0 with PME disabled as we see. "Kernel modules:
i915" may suggest the i915 driver holds a reference to it, preventing
the transition.

Dan
-- 
Daniel J Blueman

  reply	other threads:[~2022-09-15 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15 13:08 [Intel-gfx] Intel Arc A370M vs Linux 5.19 Daniel J Blueman
2022-09-15 14:09 ` Rodrigo Vivi
2022-09-15 14:40   ` Daniel J Blueman [this message]
2022-09-15 14:54     ` Rodrigo Vivi
2022-09-15 16:35       ` Tvrtko Ursulin
2022-09-20 23:49         ` Daniel J Blueman
2022-09-17  7:29       ` Daniel J Blueman

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='CAMVG2svdhBp-UU2L=Zofq2qgzapwvYGbXMZxtOTzK0T+2aLMHw@mail.gmail.com' \
    --to=daniel@quora.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.