Skip to content

Commit

Permalink
Vega Frontier GFXCLK_Dependency_Record (fix #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
sibradzic committed Jul 2, 2022
1 parent 7cc80e1 commit a69b380
Show file tree
Hide file tree
Showing 5 changed files with 753 additions and 3 deletions.
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.4',
version='0.1.5',
author='Samir Ibradžić',
description='Uplift Power Play',
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion src/upp/decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def resolve_cstruct(name, family=family):
elif name == 'GfxclkDependencyTable':
# This by default points to ATOM_Vega10_GFXCLK_Dependency_Record, but
# we need to override it to ATOM_Vega10_GFXCLK_Dependency_Record_V2
if revid == 1: # ATOM_Vega10_GFXCLK_Dependency_Table
if revid in [0, 1]: # ATOM_Vega10_GFXCLK_Dependency_Table
cs = getattr(pp_module, resolve_cstruct(name))
entries_class = cs._fields_[-1][-1]
entry_name, entry_type = cs._fields_[-1]
Expand Down
Loading

0 comments on commit a69b380

Please sign in to comment.