Re: AMD Pstate

Huang Rui
2021-12-01T06:51:50Z

On Wed, Dec 01, 2021 at 01:40:52PM +0800, Mike Lothian wrote:
> I've just tested v5 of the patchset, the warnings are gone, kconfig
> looks good and shedutil seems to be behaving
> Would it still be useful to get the above trace?

Is the previous issue that the cpu clock stuck on 1 GHz still existed on
V5?

Thanks,
Ray

>
> On Tue, 30 Nov 2021 at 10:50, Huang Rui <[1]ray.huang@amd.com> wrote:
>
> On Fri, Nov 26, 2021 at 09:24:43PM +0800, Mike Lothian wrote:
> > So
> >
> > 0 is my 6800M
> >
> > VCE feature version: 0, firmware version: 0x00000000
> > UVD feature version: 0, firmware version: 0x00000000
> > MC feature version: 0, firmware version: 0x00000000
> > ME feature version: 40, firmware version: 0x00000040
> > PFP feature version: 40, firmware version: 0x00000058
> > CE feature version: 40, firmware version: 0x00000024
> > RLC feature version: 1, firmware version: 0x00000044
> > 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: 40, firmware version: 0x0000005c
> > MEC2 feature version: 40, firmware version: 0x0000005c
> > SOS feature version: 0, firmware version: 0x0022020a
> > ASD feature version: 553648226, firmware version: 0x21000062
> > TA XGMI feature version: 0x00000000, firmware version: 0x00000000
> > TA RAS feature version: 0x00000000, firmware version: 0x00000000
> > TA HDCP feature version: 0x00000000, firmware version: 0x17000024
> > TA DTM feature version: 0x00000000, firmware version: 0x1200000b
> > TA RAP feature version: 0x00000000, firmware version: 0x0700000e
> > TA SECUREDISPLAY feature version: 0x00000000, firmware version:
> 0x00000000
> > SMC feature version: 0, firmware version: 0x00412e00 (65.46.0)
> > SDMA0 feature version: 52, firmware version: 0x00000045
> > SDMA1 feature version: 52, firmware version: 0x00000045
> > VCN feature version: 0, firmware version: 0x02110001
> > DMCU feature version: 0, firmware version: 0x00000000
> > DMCUB feature version: 0, firmware version: 0x02020007
> > TOC feature version: 0, firmware version: 0x00000000
> > VBIOS version: SWBRT77321.001
> >
> > And 1 is the onboard graphics for the 5900HX
> >
> > VCE feature version: 0, firmware version: 0x00000000
> > UVD feature version: 0, firmware version: 0x00000000
> > MC feature version: 0, firmware version: 0x00000000
> > ME feature version: 53, firmware version: 0x000000a6
> > PFP feature version: 53, firmware version: 0x000000c0
> > CE feature version: 53, firmware version: 0x0000004f
> > RLC feature version: 1, firmware version: 0x0000003c
> > RLC SRLC feature version: 1, firmware version: 0x00000001
> > RLC SRLG feature version: 1, firmware version: 0x00000001
> > RLC SRLS feature version: 1, firmware version: 0x00000001
> > MEC feature version: 53, firmware version: 0x000001ce
> > SOS feature version: 0, firmware version: 0x00000000
> > ASD feature version: 0, firmware version: 0x21000064
> > TA XGMI feature version: 0x00000000, firmware version: 0x00000000
> > TA RAS feature version: 0x00000000, firmware version: 0x00000000
> > TA HDCP feature version: 0x00000000, firmware version: 0x17000025
> > TA DTM feature version: 0x00000000, firmware version: 0x1200000c
> > TA RAP feature version: 0x00000000, firmware version: 0x00000000
> > TA SECUREDISPLAY feature version: 0x00000000, firmware version:
> 0x00000000
> > SMC feature version: 0, firmware version: 0x00402d00 (64.45.0)
> Thanks for information. Could you please enable the trace event of
> amd_pstate_perf before you run the test.
> echo 1 > /sys/kernel/tracing/events/amd_cpu/enable
> Then dump the traces with "cat /sys/kernel/debug/tracing/trace". We
> can
> double confirm whether the amd-pstate driver program the correct
> performance value in your processor.
> Thanks,
> Ray
>
> References
>
> 1. mailto:ray.huang@amd.com