Skip to content

accel/amdxdna: add new device/rev IDs#1494

Open
amd-borpanov wants to merge 3 commits into
amd:mainfrom
amd-borpanov:add_new_device_ids
Open

accel/amdxdna: add new device/rev IDs#1494
amd-borpanov wants to merge 3 commits into
amd:mainfrom
amd-borpanov:add_new_device_ids

Conversation

@amd-borpanov

Copy link
Copy Markdown
Contributor

No description provided.

@maxzhen
maxzhen requested a review from NishadSaraf July 15, 2026 17:47
@NishadSaraf
NishadSaraf marked this pull request as ready for review July 15, 2026 21:24
@NishadSaraf
NishadSaraf requested a review from houlz0507 as a code owner July 15, 2026 21:24
Copilot AI review requested due to automatic review settings July 15, 2026 21:24
@NishadSaraf

Copy link
Copy Markdown
Member

retest this please

@NishadSaraf NishadSaraf reopened this Jul 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for an additional AMD XDNA NPU generation/revision (“npu10”, PCI rev 0x14) by wiring new firmware metadata and mapping new PCI device/rev IDs to the appropriate per-device configuration structures.

Changes:

  • Extend tools/info.json with firmware download metadata for new PCI device/rev combinations (17f1/17f2, rev 14).
  • Add npu10 amdxdna_dev_info entries (classic/PF/VF) and export them via the PCI driver header.
  • Register new firmware paths and device/revision mappings in the PCI driver.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
tools/info.json Adds firmware metadata entries for npu10 (PCI rev 14).
drivers/accel/amdxdna/npu3_regs.c Introduces new dev_npu10_*_info device descriptors.
drivers/accel/amdxdna/amdxdna_pci_drv.h Exports the new dev_npu10_*_info symbols.
drivers/accel/amdxdna/amdxdna_pci_drv.c Registers firmware paths and maps (device, rev) to the new npu10 device descriptors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +257 to +258
.ops = &aie4_pf_ops,
};
Comment on lines +269 to +270
.ops = &aie4_vf_ops,
};
Comment on lines +283 to +284
.ops = &aie4_classic_ops,
};

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Borislav Panov <borislav.panov@amd.com>
maxzhen
maxzhen previously approved these changes Jul 15, 2026

@NishadSaraf NishadSaraf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot comments are valid. Rest looks good to me

Signed-off-by: Borislav Panov <borislav.panov@amd.com>
@gyang1099

Copy link
Copy Markdown
Contributor

retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants