All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Wolfram Sang <wsa@kernel.org>,
	"Tareque Md.Hanif" <tarequemd.hanif@yahoo.com>,
	Hsin-Yi Wang <hsinyi@chromium.org>,
	"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
	Bibby Hsieh <bibby.hsieh@mediatek.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Matthias Brugger <matthias.bgg@gmail.com>
Subject: Re: [PATCH] Revert "i2c: core: support bus regulator controlling in adapter"
Date: Wed, 2 Mar 2022 18:20:06 -0500	[thread overview]
Message-ID: <CADnq5_M-Wrav_WW4Wx1GC+f0UJtS_Op4W0VWED4VvPhYqDvp2Q@mail.gmail.com> (raw)
In-Reply-To: <YgaiFsgQUSeUTUwz@kunai>

On Fri, Feb 11, 2022 at 12:51 PM Wolfram Sang <wsa@kernel.org> wrote:
>
> On Fri, Feb 04, 2022 at 07:22:44PM +0000, Tareque Md.Hanif wrote:
> >  The issue still exists. It takes very long time to suspend (10-12s). `DRI_PRIME=1 glxgears` is a black window.
> >
> > journalctl attached
> > Looking forward to any testing.
>
> Any new ideas which Tareque could test?

For some background, the GPU has multiple i2c buses attached to it
which the driver uses for querying the EDID on monitors over i2c.
Although in this case, the i2c buses are not used because there is no
display controller on this particular GPU.  I'm not even sure if the
gpu driver exposes any i2c buses in this case.  The i2c buses present
are in a vbios table that the driver parses at load time.  If there
are none on your platform, then it's probably not the AMD GPU driver.
Can you check if there are any i2c buses from the AMD GPU device in
sysfs?  I don't really see why this patch would change anything off
hand on the GPU.  Maybe the GPU is a red herring.  No one reported any
regressions on systems with AMD CPUs or even other Intel CPUs.  This
seems to be specific to a particular Intel CPU + AMD Topaz GPUs.  The
dGPU power is controlled by the platform via ACPI (it's usually a GPIO
under the covers).  I wonder if the issue is related to one of the i2c
buses or devices on the intel platform?  E.g.,

00:15.0 Signal processing controller: Intel Corporation Sunrise
Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise
Point-LP Serial IO I2C Controller #1 (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)

I'm not sure what those do, but maybe that is something to look at?

Also there are some PCI AERs in the kernel log.  Are those present
without the patch?

Alex

  reply	other threads:[~2022-03-02 23:50 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-06 12:24 [PATCH] Revert "i2c: core: support bus regulator controlling in adapter" Wolfram Sang
2022-01-06 12:24 ` Wolfram Sang
2022-01-07 20:28 ` Wolfram Sang
2022-01-07 20:28   ` Wolfram Sang
2022-01-12  9:32 ` Wolfram Sang
2022-01-12  9:32   ` Wolfram Sang
2022-01-12  9:51   ` Konstantin Kharlamov
2022-01-12  9:51     ` Konstantin Kharlamov
2022-01-12  9:58     ` Tareque Md Hanif
2022-01-12 10:58       ` Hsin-Yi Wang
2022-01-12 10:58         ` Hsin-Yi Wang
2022-01-12 12:24         ` Hsin-Yi Wang
2022-01-12 12:24           ` Hsin-Yi Wang
2022-01-14 10:07         ` Tareque Md Hanif
2022-01-15 17:26           ` Hsin-Yi Wang
2022-01-15 17:26             ` Hsin-Yi Wang
2022-01-15 18:44             ` Tareque Md.Hanif
2022-02-04 18:18               ` Hsin-Yi Wang
2022-02-04 18:18                 ` Hsin-Yi Wang
2022-02-04 19:22                 ` Tareque Md.Hanif
2022-02-11 17:51                   ` Wolfram Sang
2022-02-11 17:51                     ` Wolfram Sang
2022-03-02 23:20                     ` Alex Deucher [this message]
     [not found] <20220106122452.18719-1-wsa () kernel ! org>
2022-01-07 18:20 ` Konstantin Kharlamov
2022-01-07 18:35   ` Konstantin Kharlamov
2022-01-07 20:24   ` Wolfram Sang
2022-01-07 20:24     ` Wolfram Sang

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=CADnq5_M-Wrav_WW4Wx1GC+f0UJtS_Op4W0VWED4VvPhYqDvp2Q@mail.gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=bibby.hsieh@mediatek.com \
    --cc=hsinyi@chromium.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=matthias.bgg@gmail.com \
    --cc=tarequemd.hanif@yahoo.com \
    --cc=wsa@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 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.