-
Notifications
You must be signed in to change notification settings - Fork 11
Add support for Ryzen AI 7 350 - Model 60h #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
MR2K5
wants to merge
1
commit into
mattkeenan:master
Choose a base branch
from
MR2K5:zen5-ryzen-ai-7-350
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -102,6 +102,10 @@ MODULE_PARM_DESC(zen1_calc, "Set to 1 to use ZEN1 calculation"); | |||||
| #define PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3 0x12bb | ||||||
| #endif | ||||||
|
|
||||||
| #ifndef PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3 | ||||||
| #define PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3 0x124b | ||||||
| #endif | ||||||
|
|
||||||
| /* Zen 5 Granite Ridge (Desktop) */ | ||||||
| #ifndef PCI_DEVICE_ID_AMD_1AH_M40H_DF_F3 | ||||||
| #define PCI_DEVICE_ID_AMD_1AH_M40H_DF_F3 0x14e3 | ||||||
|
|
@@ -285,6 +289,15 @@ static const struct zenpower_model_config model_configs[] = { | |||||
| .flags = ZEN_CFG_ZEN2_CALC | ZEN_CFG_RAPL | ZEN_CFG_IS_ZEN5 | ZEN_CFG_NO_RAPL_CORE, | ||||||
| .name = "Zen5 Strix Halo (1Ah/70h)" }, | ||||||
|
|
||||||
| /* Family 1Ah - Zen5 Ryzen AI 7 350 */ | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| { .family = 0x1a, .model = 0x60, | ||||||
| .svi_core_addr = F1AH_M70H_SVI_TEL_PLANE0, | ||||||
| .svi_soc_addr = F1AH_M70H_SVI_TEL_PLANE1, | ||||||
| .ccd_temp_base = F1AH_M70H_CCD_TEMP_BASE, | ||||||
| .num_ccds = 0, | ||||||
| .flags = ZEN_CFG_ZEN2_CALC | ZEN_CFG_RAPL | ZEN_CFG_IS_ZEN5 | ZEN_CFG_NO_RAPL_CORE, | ||||||
| . name = "Zen5 Krackan Point (1Ah/60h)" }, | ||||||
|
|
||||||
| { } /* sentinel - must be last */ | ||||||
| }; | ||||||
|
|
||||||
|
|
@@ -882,6 +895,7 @@ static const struct pci_device_id zenpower_id_table[] = { | |||||
| { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) }, | ||||||
| { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3) }, | ||||||
| { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M40H_DF_F3) }, | ||||||
| { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) }, | ||||||
| {} | ||||||
| }; | ||||||
| MODULE_DEVICE_TABLE(pci, zenpower_id_table); | ||||||
|
|
||||||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.