Skip to content

Test script fails detecting codename on 8845HS #21

@stevenj

Description

@stevenj

My 8845HS mini pc reports:

❯ cat /proc/cpuinfo

...
cpu family      : 25
model           : 117
model name      : AMD Ryzen 7 8845HS w/ Radeon 780M Graphics
stepping        : 2
...
❯ cat /sys/kernel/ryzen_smu_drv/codename
24
❯ sudo ./test.py
Retrieved SMU Version: v76.82.0
Failed to detect processor code name!

Hacked it to add two more entries to the codename table, and then it reports:

❯ sudo ./test.py
Retrieved SMU Version: v76.82.0
Processor Code Name: Also Hawk Point?
PM Table: Supported
SMN Offset[0x50200]: 0x40c50af0

Everything seems to be working properly!

Instead of failing on an unknown codename, it should say something like f"Unknown CodeName for code {args}? or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions