From: Luben Tuikov <luben.tuikov@amd.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: Alexander Deucher <Alexander.Deucher@amd.com>,
amd-gfx list <amd-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 3/3] drm/amd/pm: Fix I2C controller port setting of Navi10
Date: Mon, 28 Jun 2021 13:51:10 -0400 [thread overview]
Message-ID: <f180a113-8eb3-ce5c-f57e-0e01dea5fe37@amd.com> (raw)
In-Reply-To: <CADnq5_Mv7uY1Ptsp=WpSPG+PgpLDWFQF7zSKXAoiHi3DxJxD9A@mail.gmail.com>
On 2021-06-28 1:36 p.m., Alex Deucher wrote:
> On Mon, Jun 28, 2021 at 1:26 PM Luben Tuikov <luben.tuikov@amd.com> wrote:
>> Fix controller port setting of Navi10 from 1
>> (incorrect) to 0 (correct).
>>
>> This fixes a previous rework commit which
>> introduced this typo.
>>
>> Cc: Alexander Deucher <Alexander.Deucher@amd.com>
>> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
> For patches 2 and 3, please add a Fixes: line to id the commit these
> fix. With those added, the series is:
> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Yes, great--will do.
(I was debating this when crafting the patch descriptions... Thanks for the confirmation! :-) )
Regards,
Luben
>
>> ---
>> drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
>> index 205dc2e56ab199..36264b78199620 100644
>> --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
>> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
>> @@ -2749,7 +2749,7 @@ static int navi10_i2c_xfer(struct i2c_adapter *i2c_adap,
>> if (!req)
>> return -ENOMEM;
>>
>> - req->I2CcontrollerPort = 1;
>> + req->I2CcontrollerPort = 0;
>> req->I2CSpeed = I2C_SPEED_FAST_400K;
>> req->SlaveAddress = msg[0].addr << 1; /* wants an 8-bit address */
>> dir = msg[0].flags & I2C_M_RD;
>> --
>> 2.32.0
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cluben.tuikov%40amd.com%7C296fe43070f541cf9a5008d93a5b55fc%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637604986221909193%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=133unYfZMpoNI76MVZMh6W%2FsBsHMOR2A8F6MHwRqP%2BA%3D&reserved=0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2021-06-28 17:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 17:25 [PATCH 1/3] drm/amd/pm: Simplify managed I2C transfer of Aldebaran Luben Tuikov
2021-06-28 17:25 ` [PATCH 2/3] drm/amd/pm: Fix I2C controller port setting of Arcturus Luben Tuikov
2021-06-28 17:25 ` [PATCH 3/3] drm/amd/pm: Fix I2C controller port setting of Navi10 Luben Tuikov
2021-06-28 17:36 ` Alex Deucher
2021-06-28 17:51 ` Luben Tuikov [this message]
2021-06-28 18:48 [PATCH 1/3] drm/amd/pm: Simplify managed I2C transfer of Aldebaran Luben Tuikov
2021-06-28 18:48 ` [PATCH 3/3] drm/amd/pm: Fix I2C controller port setting of Navi10 Luben Tuikov
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=f180a113-8eb3-ce5c-f57e-0e01dea5fe37@amd.com \
--to=luben.tuikov@amd.com \
--cc=Alexander.Deucher@amd.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.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.