RE: AMD Pstate

Du, Xiaojian
2021-11-26T11:34:12Z

[AMD Official Use Only]

Hi Mike

Could you check the smc firmware version?
AMD-Pstate driver will communicate with SMU, so we need to confirm your current smc firmware version is not older than ours.

Our test platform is B550, smc firmware version is:
SMC feature version: 0, firmware version: 0x00283300

You can fetch this info like this:

$sudo su (switch to root)
$cd /sys/kernel/debug/dri/ (enter the sysfs node folder)
$ll (to list the GPU device(s))
$cd 0 (if your platform has only one GPU, the "0" means this GPU device exactly; but if you have one iGPU and one dGPU on your platform, you need to have a try, like "0" or "1")
$cat amdgpu_firmware_info (if you have two AMD GPUs, you need to capture both of them)

It will print like this:
VCE feature version: 0, firmware version: 0x00000000
UVD feature version: 0, firmware version: 0x00000000
MC feature version: 0, firmware version: 0x00000000
ME feature version: 31, firmware version: 0x0000005e
PFP feature version: 31, firmware version: 0x0000008f
CE feature version: 31, firmware version: 0x00000025
RLC feature version: 1, firmware version: 0x0000004c
RLC SRLC feature version: 0, firmware version: 0x00000000
RLC SRLG feature version: 0, firmware version: 0x00000000
RLC SRLS feature version: 0, firmware version: 0x00000000
MEC feature version: 31, firmware version: 0x00000087
MEC2 feature version: 31, firmware version: 0x00000087
SOS feature version: 0, firmware version: 0x00160052
ASD feature version: 0, firmware version: 0x21000036
TA XGMI feature version: 0, firmware version: 0x00000000
TA RAS feature version: 0, firmware version: 0x00000000
SMC feature version: 0, firmware version: 0x00351f00
SDMA0 feature version: 50, firmware version: 0x00000024
SDMA1 feature version: 50, firmware version: 0x00000024
VCN feature version: 0, firmware version: 0x0510a00d
DMCU feature version: 0, firmware version: 0x00000000
VBIOS version: 113-D3231000-101

And we need the "smc firmware version" and "VBIOS version".
BTW, thank for your test and feedback.

Thanks,
Xiaojian

-----Original Message-----
From: Mike Lothian <mike@fireburn.co.uk>
Sent: 2021年11月26日 18:50
To: Huang, Ray <Ray.Huang@amd.com>
Cc: Linux PM list <linux-pm@vger.kernel.org>; Su, Jinzhou (Joe) <Jinzhou.Su@amd.com>; Du, Xiaojian <Xiaojian.Du@amd.com>
Subject: Re: AMD Pstate

Is there any extra info that might be useful to debug this?