Skip to content

Commit

Permalink
Add support for Navi 12 aka PRO V520 (fixes #26)
Browse files Browse the repository at this point in the history
  • Loading branch information
sibradzic committed Nov 25, 2021
1 parent 0fc77ca commit 05db454
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ on the following AMD GPU families:
* Vega
* Radeon VII
* Navi 10
* Navi 12 (PRO V520)
* Navi 14
* Navi 21 (Sienna Cichlid)
* Navi 22 (Navy Flounder)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='upp',
version='0.1.2',
version='0.1.3',
author='Samir Ibradžić',
description='Uplift Power Play',
long_description=long_description,
Expand Down
5 changes: 5 additions & 0 deletions src/upp/decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,11 @@ def select_pp_struct(rawbytes, rawdump=False, debug=False):
gpugen = 'Navi 10 or 14'
from upp.atom_gen import smu_v11_0_navi10 as pp_struct
ctypes_strct = pp_struct.struct_smu_11_0_powerplay_table
# Navi 12 aka PRO V520
elif pp_ver == (14, 0):
gpugen = 'Navi 12'
from upp.atom_gen import smu_v11_0_navi10 as pp_struct
ctypes_strct = pp_struct.struct_smu_11_0_powerplay_table
# Navi 21 (Sienna Cichlid) aka RX6900XT/RX6800(XT)
# Navi 22 (Navy Flounder) aka RX6700(XT)/RX6800M
# Navi 23 (Dimgrey Cavefish) aka RX6600(XT)/RX6600M
Expand Down
2 changes: 1 addition & 1 deletion src/upp/upp.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def cli(ctx, debug, pp_file, from_registry):
- Polaris
- Vega
- Radeon VII
- Navi 10, 14
- Navi 10, 12, 14
- Navi 21, 22, 23
Note: iGPUs found in many recent AMD APUs are using completely different
Expand Down

0 comments on commit 05db454

Please sign in to comment.