Skip to contentSkip to conversation

send message to pmfw when SMT changes

PATCH RESEND Guilherme G. Piccoli 2 participants 5 messages Mar 23, 2023 – Mar 28, 2023

lore
Share & tools
lore
#0 lore raw

Hi Wenyou Yang, first of all thanks for the improvement!

I'd like to ask you (and all CCed) if it would be possible to explain a bit the goal / functionality behind these patches.

By reading the commit descriptions and code, I can understand code-wise what's going on and how this will message the FW on SMT changes. What I couldn't parse is the purpose of this, or in other words, what does it gain for us? Also, why only on Vangogh?

Since I don't have the spec I couldn't read and learn myself - apologies if this is somewhat a silly question. Also, if for some reason you cannot respond (like a HW "NDA"), it's fine too.

Thanks in advance,

Guilherme

#1 lore raw

[AMD Official Use Only - General]

Hi Guilherme,

Thank you for your attention on the patch set.

The purpose of the patch set is to improve the performance when playing the game.

Best Regards,
Wenyou

Quoted 34 lines

-----Original Message-----
From: Guilherme G. Piccoli <[email protected]>
Sent: Friday, March 24, 2023 5:44 AM
To: Yang, WenYou <[email protected]>; amd-gfx list <amd- [email protected]>
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Pan, Xinhui <[email protected]>; Liu, Kun <[email protected]>; Liang, Richard qi <[email protected]>; Yuan, Perry <[email protected]>; Li, Ying <[email protected]>; Limonciello, Mario <[email protected]>; [email protected]
Subject: Re: [Resend PATCH v1 0/3] send message to pmfw when SMT changes

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Hi Wenyou Yang, first of all thanks for the improvement!

I'd like to ask you (and all CCed) if it would be possible to explain a bit the goal / functionality behind these patches.

By reading the commit descriptions and code, I can understand code-wise what's going on and how this will message the FW on SMT changes. What I couldn't parse is the purpose of this, or in other words, what does it gain for us? Also, why only on Vangogh?

Since I don't have the spec I couldn't read and learn myself - apologies if this is somewhat a silly question. Also, if for some reason you cannot respond (like a HW "NDA"), it's fine too.

Thanks in advance,

Guilherme

#2 lore raw
Quoted 7 lines · WenYou

Hi Guilherme,

Thank you for your attention on the patch set.
The purpose of the patch set is to improve the performance when playing the game.

Best Regards,
Wenyou

Hi Wenyou, thank you for the clarification and for the interesting patch set!

So, just so I can understand: is it expected that gamers disable SMT? I heard some games got their performance improved, but not sure the reason...if you have thoughts on that, I'm pretty interested!

Cheers,

Guilherme

#3 lore raw

[AMD Official Use Only - General]

Quoted 23 lines

-----Original Message-----
From: Guilherme G. Piccoli <[email protected]>
Sent: Monday, March 27, 2023 10:09 PM
To: Yang, WenYou <[email protected]>; amd-gfx list <amd- [email protected]>
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Pan, Xinhui <[email protected]>; Liu, Kun <[email protected]>; Liang, Richard qi <[email protected]>; Yuan, Perry <[email protected]>; Li, Ying <[email protected]>; Limonciello, Mario <[email protected]>; [email protected]
Subject: Re: [Resend PATCH v1 0/3] send message to pmfw when SMT changes

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Quoted 4 lines · WenYou

Hi Guilherme,

Thank you for your attention on the patch set.
The purpose of the patch set is to improve the performance when playing the

game.

Quoted 1 line
Quoted 8 lines
Quoted 2 lines

Best Regards,
Wenyou

Hi Wenyou, thank you for the clarification and for the interesting patch set!

So, just so I can understand: is it expected that gamers disable SMT? I heard some games got their performance improved, but not sure the reason...if you have thoughts on that, I'm pretty interested!

Hi Guilherme,

No, it not. It is not to disable SMT.

Yes, there is a commit to get performance improved.
https://github.com/torvalds/linux/commit/a8fb40966f19ff81520d9ccf8f7e2b95201368b8

Best Regards,
Wenyou

Quoted 5 lines

Cheers,

Guilherme

#4 lore raw
Quoted 9 lines · WenYou

[AMD Official Use Only - General]
[...]

Quoted 5 lines

Hi Wenyou, thank you for the clarification and for the interesting patch set!

So, just so I can understand: is it expected that gamers disable SMT? I heard some games got their performance improved, but not sure the reason...if you have thoughts on that, I'm pretty interested!

Hi Guilherme,

Quoted 7 lines

No, it not. It is not to disable SMT.

Yes, there is a commit to get performance improved.
https://github.com/torvalds/linux/commit/a8fb40966f19ff81520d9ccf8f7e2b95201368b8

Best Regards,
Wenyou

Thanks, this one is present in Deck's kernel for a while. Cheers,

Guilherme