← Back to Pull requests

[AMDGPU] Add missing product names for released processors #227727

Open
bartvdbraak opened this pull request with 177 lines diff across 1 files
View on GitHub
bartvdbraak bartvdbraak commented on Sep 30, 2026 14:16 UTC
Author

  • Removes TODO from gfx705 since its was part of a cleanup commit in 666ef0db208bb3880115bdc133e72e954ed55300 where it doesn't actually seem to reference any released products

  • Removes TODO from gfx1152 since there were no new products for this processor category

  • Adds missing product names for gfx704, gfx810, gfx904, gfx909, gfx950, gfx1013, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1103, gfx1150, gfx1151 and gfx1153
  • Diff: 177 lines (+88 / -89) across 1 files Reviewer: jayfoad Review duration: 88343m
    All Vouch review confidence checks passed
    Residual risk 0.05 = Change Risk (0.41) × (1 − Review Confidence (0.89)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.41 · 177 lines diff across 1 files
    0.41
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 5 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    88%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.310
    Real PR Conversation Timeline
    7 items
    github-actions[bot] github-actions[bot] commented on Sep 30, 2026 14:17 UTC
    Bot

    <!--LLVM NEW CONTRIBUTOR COMMENT-->

    Hello @bartvdbraak :wave:

    Thank you for submitting a Pull Request (PR) to the LLVM Project. Since this is your first PR, here are a few useful links covering our main contribution policies and review practices.

    All contributions to LLVM must follow our LLVM AI Tool Use Policy. In particular, if you used AI while working on this PR, remember to add a note to the PR description.
    The LLVM Code-Review Policy and Practices document contains practical information about the PR process, including how patches are reviewed and accepted, and who can review a PR.

  • Our LLVM Developer Policy describes our expectations for code quality, commit summaries and contains notes on our CI system.
  • Please reply to this message to confirm that you have read these policies, especially the LLVM AI Tool Use Policy, and that any AI tool usage has been noted in the PR description.

    ---

    Frequently asked questions

    How do I add reviewers?

    This PR will be automatically labeled, and the relevant teams will be notified. For some parts of the project, reviewers may also be added automatically.

    You can also add reviewers manually using the Reviewers section on this page. If you cannot use that section, it is probably because you do not have write permissions for the repository. In that case, you can request a review by tagging reviewers in a comment using @ followed by their GitHub username.

    What if there are no comments?

    If you have not received any comments on your PR after a week, you can request a review by pinging the PR with a comment such as “Ping”. The common courtesy ping rate is once a week. Please remember that you are asking for volunteer time from other developers.

    Are any special GitHub settings required to contribute to LLVM?

    We only require contributors to have a public email address associated with their GitHub commits, see this section of LLVM Developer Policy for details.

    ---

    If you have questions, feel free to leave a comment on this PR, or ask on LLVM Discord or LLVM Discourse.

    Thank you,
    The LLVM Community

    llvmorg-github-actions[bot] llvmorg-github-actions[bot] commented on Sep 30, 2026 14:18 UTC
    Bot

    <!--LLVM PR SUMMARY COMMENT-->

    @llvm/pr-subscribers-backend-amdgpu

    Author: Bart van der Braak (bartvdbraak)

    <details>
    <summary>Changes</summary>

  • Removes TBA from gfx705 since its was part of a cleanup commit in 666ef0db208bb3880115bdc133e72e954ed55300 where it doesn't actually seem to reference any released products

  • Adds missing product names for gfx810, gfx904, gfx909, gfx950, gfx1013, gfx1031, gfx1032, gfx1033, gfx1034, gfx1035, gfx1036, gfx1103, gfx1150, gfx1151 and gfx1153
  • ---

    Patch is 24.98 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/227727.diff

    1 Files Affected:

  • (modified) llvm/docs/AMDGPUUsage.rst (+87-90)
  • ``````

    diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
    index 899e796cec225..f751b2874fc4a 100644
    --- a/llvm/docs/AMDGPUUsage.rst
    +++ b/llvm/docs/AMDGPUUsage.rst
    @@ -376,11 +376,10 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                                                flat          - *pal-amdpal*  - Radeon HD 8770
                                                                                scratch                       - R7 260
                                                                                                              - R7 260X
    -     ``gfx705``                  ``amdgpu7.05``   APU                    - Offset        - *pal-amdhsa*  *TBA*
    -                                                                           flat          - *pal-amdpal*
    -                                                                           scratch                       .. TODO::
    -                                                                                                           Add product
    -                                                                                                           names.
    +                                                                                                         - R9 260 OEM
    +                                                                                                         - FirePro W4300
    +                                                                                                         - FirePro W5100
    +     ``gfx705``                  ``amdgpu7.05``   APU                    - Offset        - *pal-amdhsa*
     
          **GCN GFX8 (Volcanic Islands (VI))** [AMD-GCN-GFX8]_
          --------------------------------------------------------------------------------------------------------------------------
    @@ -422,11 +421,14 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                                                scratch       - *pal-amdpal*  - FirePro W7100
                                                                                                              - Mobile FirePro
                                                                                                                M7170
    -     ``gfx810``  - ``stoney``    ``amdgpu8.10``   APU   - xnack          - Offset        - *rocm-amdhsa* *TBA*
    -                                                                           flat          - *pal-amdhsa*
    -                                                                           scratch       - *pal-amdpal*  .. TODO::
    -                                                                                                           Add product
    -                                                                                                           names.
    +     ``gfx810``  - ``stoney``    ``amdgpu8.10``   APU   - xnack          - Offset        - *rocm-amdhsa* - Radeon R1E Mobile Graphics
    +                                                                           flat          - *pal-amdhsa*  - Radeon R2 Mobile Graphics
    +                                                                           scratch       - *pal-amdpal*  - Radeon R2E Mobile Graphics
    +                                                                                                         - Radeon R3 Mobile Graphics
    +                                                                                                         - Radeon R4 Mobile Graphics                                                                                     
    +                                                                                                         - Radeon R4E Mobile Graphics
    +                                                                                                         - Radeon R5 Mobile Graphics
    +                                                                                                         - Radeon R5E Mobile Graphics
     
          **GCN GFX9 (Vega)** [AMD-GCN-GFX900-GFX904-VEGA]_ [AMD-GCN-GFX906-VEGA7NM]_ [AMD-GCN-GFX908-CDNA1]_ [AMD-GCN-GFX90A-CDNA2]_ [AMD-GCN-GFX942-CDNA3]_
          --------------------------------------------------------------------------------------------------------------------------
    @@ -440,12 +442,9 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
          ``gfx902``                  ``amdgpu9.02``   APU   - xnack          - Absolute      - *rocm-amdhsa* - Ryzen 3 2200G
                                                                                flat          - *pal-amdhsa*  - Ryzen 5 2400G
                                                                                scratch       - *pal-amdpal*
    -     ``gfx904``                  ``amdgpu9.05``   dGPU  - xnack                          - *rocm-amdhsa* *TBA*
    -                                                                                         - *pal-amdhsa*
    -                                                                                         - *pal-amdpal*  .. TODO::
    -                                                                                                           Add product
    -                                                                                                           names.
    -
    +     ``gfx904``                  ``amdgpu9.05``   dGPU  - xnack                          - *rocm-amdhsa* - Radeon Pro Vega 16
    +                                                                                         - *pal-amdhsa*  - Radeon Pro Vega 20
    +                                                                                         - *pal-amdpal*
          ``gfx906``                  ``amdgpu9.06``   dGPU  - sramecc        - Absolute      - *rocm-amdhsa* - Radeon Instinct MI50
                                                             - xnack            flat          - *pal-amdhsa*  - Radeon Instinct MI60
                                                                                scratch       - *pal-amdpal*  - Radeon VII
    @@ -454,13 +453,9 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                             - xnack          - Absolute
                                                                                flat
                                                                                scratch
    -     ``gfx909``                  ``amdgpu9.09``   APU   - xnack          - Absolute      - *pal-amdpal*  *TBA*
    +     ``gfx909``                  ``amdgpu9.09``   APU   - xnack          - Absolute      - *pal-amdpal*  - Ryzen R1606G
                                                                                flat
    -                                                                           scratch                       .. TODO::
    -
    -                                                                                                          Add product
    -                                                                                                          names.
    -
    +                                                                           scratch
          ``gfx90a``                  ``amdgpu9.0a``   dGPU  - sramecc        - Absolute      - *rocm-amdhsa* - AMD Instinct MI210 Accelerator
                                                             - tgsplit          flat          - *rocm-amdhsa* - AMD Instinct MI250 Accelerator
                                                             - xnack            scratch       - *rocm-amdhsa* - AMD Instinct MI250X Accelerator
    @@ -491,12 +486,12 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                               preload          work-item
                                                                                IDs
     
    -     ``gfx950``                  ``amdgpu9.50``   dGPU  - sramecc        - Architected                   *TBA*
    -                                                        - tgsplit          flat
    -                                                        - xnack            scratch                       .. TODO::
    +     ``gfx950``                  ``amdgpu9.50``   dGPU  - sramecc        - Architected                   - AMD Instinct MI350X
    +                                                        - tgsplit          flat                          - AMD Instinct MI350P
    +                                                        - xnack            scratch
                                                             - kernarg        - Packed
    -                                                          preload          work-item                       Add product
    -                                                                           IDs                             names.
    +                                                          preload          work-item
    +                                                                           IDs
     
          **GCN GFX10.1 (RDNA 1)** [AMD-GCN-GFX10-RDNA1]_
          --------------------------------------------------------------------------------------------------------------------------
    @@ -511,12 +506,9 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
          ``gfx1012``                 ``amdgpu10.12`` dGPU  - cumode          - Absolute      - *rocm-amdhsa* - Radeon RX 5500
                                                            - wavefrontsize64   flat          - *pal-amdhsa*  - Radeon RX 5500 XT
                                                            - xnack             scratch       - *pal-amdpal*
    -     ``gfx1013``                 ``amdgpu10.13`` APU   - cumode          - Absolute      - *rocm-amdhsa* *TBA*
    +     ``gfx1013``                 ``amdgpu10.13`` APU   - cumode          - Absolute      - *rocm-amdhsa* - AMD Oberon
                                                            - wavefrontsize64   flat          - *pal-amdhsa*
    -                                                       - xnack             scratch       - *pal-amdpal*  . TODO::
    -
    -                                                                                                          Add product
    -                                                                                                          names.
    +                                                       - xnack             scratch       - *pal-amdpal*
     
          **GCN GFX10.3 (RDNA 2)** [AMD-GCN-GFX10-RDNA2]_
          --------------------------------------------------------------------------------------------------------------------------
    @@ -525,42 +517,47 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                                                scratch       - *pal-amdpal*  - Radeon RX 6900 XT
                                                                                                              - Radeon PRO W6800
                                                                                                              - Radeon PRO V620
    -     ``gfx1031``                 ``amdgpu10.31`` dGPU  - cumode          - Absolute      - *rocm-amdhsa* - Radeon RX 6700 XT
    -                                                       - wavefrontsize64   flat          - *pal-amdhsa*
    -                                                                           scratch       - *pal-amdpal*
    -     ``gfx1032``                 ``amdgpu10.32`` dGPU  - cumode          - Absolute      - *rocm-amdhsa*  *TBA*
    -                                                       - wavefrontsize64   flat          - *pal-amdhsa*
    -                                                                           scratch       - *pal-amdpal*   .. TODO::
    -
    -                                                                                                           Add product
    -                                                                                                           names.
    -
    -     ``gfx1033``                 ``amdgpu10.33`` APU   - cumode          - Absolute      - *pal-amdpal*   *TBA*
    -                                                       - wavefrontsize64   flat
    -                                                                           scratch                       . TODO::
    -
    -                                                                                                           Add product
    -                                                                                                           names.
    -     ``gfx1034``                 ``amdgpu10.34`` dGPU  - cumode          - Absolute      - *pal-amdpal*  *TBA*
    -                                                       - wavefrontsize64   flat
    -                                                                           scratch                       .. TODO::
    -
    -                                                                                                           Add product
    -                                                                                                           names.
    -
    -     ``gfx1035``                 ``amdgpu10.35`` APU   - cumode          - Absolute      - *pal-amdpal*   *TBA*
    +     ``gfx1031``                 ``amdgpu10.31`` dGPU  - cumode          - Absolute      - *rocm-amdhsa* - Radeon RX 6700
    +                                                       - wavefrontsize64   flat          - *pal-amdhsa*  - Radeon RX 6700 XT
    +                                                                           scratch       - *pal-amdpal*  - Radeon RX 6700M
    +                                                                                                         - Radeon RX 6750 GRE
    +                                                                                                         - Radeon RX 6750 XT
    +                                                                                                         - Radeon RX 6800M
    +                                                                                                         - Radeon RX 6850M XT
    +     ``gfx1032``                 ``amdgpu10.32`` dGPU  - cumode          - Absolute      - *rocm-amdhsa* - Radeon PRO W6600
    +                                                       - wavefrontsize64   flat          - *pal-amdhsa*  - Radeon Pro W6600M
    +                                                                           scratch       - *pal-amdpal*  - Radeon RX 6600
    +                                                                                                         - Radeon RX 6600 LE
    +                                                                                                         - Radeon RX 6600M
    +                                                                                                         - Radeon RX 6600S
    +                                                                                                         - Radeon RX 6650M
    +                                                                                                         - Radeon RX 6700S
    +                                                                                                         - Radeon Pro W6600X
    +                                                                                                         - Radeon RX 6600 XT
    +                                                                                                         - Radeon RX 6650 XT
    +                                                                                                         - Radeon RX 6650M XT
    +                                                                                                         - Radeon RX 6800S
    +     ``gfx1033``                 ``amdgpu10.33`` APU   - cumode          - Absolute      - *pal-amdpal*  - AMD Van Gogh
                                                            - wavefrontsize64   flat
    -                                                                           scratch                       .. TODO::
    -                                                                                                           Add product
    -                                                                                                           names.
    -
    -     ``gfx1036``                 ``amdgpu10.36`` APU   - cumode          - Absolute      - *pal-amdpal*  *TBA*
    +                                                                           scratch
    +     ``gfx1034``                 ``amdgpu10.34`` dGPU  - cumode          - Absolute      - *pal-amdpal*  - Radeon PRO W6300
    +                                                       - wavefrontsize64   flat                          - Radeon Pro W6300M
    +                                                                           scratch                       - Radeon PRO W6400
    +                                                                                                         - Radeon RX 6300 OEM
    +                                                                                                         - Radeon RX 6300M
    +                                                                                                         - Radeon RX 6400
    +                                                                                                         - Radeon RX 6450M
    +                                                                                                         - Radeon Pro W6500M
    +                                                                                                         - Radeon RX 6500 XT
    +                                                                                                         - Radeon RX 6500M
    +                                                                                                         - Radeon RX 6550M
    +                                                                                                         - Radeon RX 6550S
    +     ``gfx1035``                 ``amdgpu10.35`` APU   - cumode          - Absolute      - *pal-amdpal*  - Radeon 660M
    +                                                       - wavefrontsize64   flat                          - Radeon 680M
    +                                                                           scratch
    +     ``gfx1036``                 ``amdgpu10.36`` APU   - cumode          - Absolute      - *pal-amdpal*  - Radeon Graphics 128SP
                                                            - wavefrontsize64   flat
    -                                                                           scratch                       .. TODO::
    -
    -                                                                                                           Add product
    -                                                                                                           names.
    -
    +                                                                           scratch
          **GCN GFX11 (RDNA 3)** [AMD-GCN-GFX11-RDNA3]_
          --------------------------------------------------------------------------------------------------------------------------
          ``gfx1100``                 ``amdgpu11.00`` dGPU  - cumode          - Architected   - *pal-amdpal*  - Radeon PRO W7900 Dual Slot
    @@ -584,42 +581,42 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                                                work-item
                                                                                IDs
     
    -     ``gfx1103``                 ``amdgpu11.03`` APU   - cumode          - Architected                   *TBA*
    -                                                       - wavefrontsize64   flat
    -                                                                           scratch                        .. TODO::
    -                                                                         - Packed
    -                                                                           work-item                        Add product
    -                                                                           IDs                              names.
    +     ``gfx1103``                 ``amdgpu11.03`` APU   - cumode          - Architected                   - Radeon 740M
    +                                                       - wavefrontsize64   flat                          - Radeon 760M
    +                                                                           scra...
    [truncated]
    
    
    ``````

    </details>

    jayfoad jayfoad commented on code on Sep 30, 2026 15:40 UTC
    Code Review
    llvm/docs/AMDGPUUsage.rst:1
    @@ -376,11 +376,10 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                                                flat          - *pal-amdpal*  - Radeon HD 8770
                                                                                scratch                       - R7 260
                                                                                                              - R7 260X
    -     ``gfx705``                  ``amdgpu7.05``   APU                    - Offset        - *pal-amdhsa*  *TBA*
    -                                                                           flat          - *pal-amdpal*
    -                                                                           scratch                       .. TODO::
    -                                                                                                           Add product
    -                                                                                                           names.
    +                                                                                                         - R9 260 OEM
    +                                                                                                         - FirePro W4300
    +                                                                                                         - FirePro W5100
    +     ``gfx705``                  ``amdgpu7.05``   APU                    - Offset        - *pal-amdhsa*

    Looks like you have lost a couple of lines below this one?

    jayfoad jayfoad commented on Sep 30, 2026 15:44 UTC
    Contributor

    Is there a public source of truth for the product names you've added? E.g. wikipedia or kernel PCI lists or ...

    bartvdbraak bartvdbraak commented on Oct 01, 2026 11:05 UTC
    Author

    Is there a public source of truth for the product names you've added? E.g. wikipedia or kernel PCI lists or ...

    I used a combination of the following sources:

  • PCI Vendor IDs for AMD: https://admin.pci-ids.ucw.cz/read/PC/1002

  • Looking up matching device IDs in the mesa/mesa Repository

  • - amd/common/amd_family.c
    - amd/common/amdgpu_devices.c
  • Cross-referencing info from

  • - TechPowerUp's GPU Database
    - Wikipedia page for "List of AMD graphics processing units"

    bartvdbraak bartvdbraak commented on code on Oct 01, 2026 11:10 UTC
    Code Review
    llvm/docs/AMDGPUUsage.rst:1
    @@ -376,11 +376,10 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
                                                                                flat          - *pal-amdpal*  - Radeon HD 8770
                                                                                scratch                       - R7 260
                                                                                                              - R7 260X
    -     ``gfx705``                  ``amdgpu7.05``   APU                    - Offset        - *pal-amdhsa*  *TBA*
    -                                                                           flat          - *pal-amdpal*
    -                                                                           scratch                       .. TODO::
    -                                                                                                           Add product
    -                                                                                                           names.
    +                                                                                                         - R9 260 OEM
    +                                                                                                         - FirePro W4300
    +                                                                                                         - FirePro W5100
    +     ``gfx705``                  ``amdgpu7.05``   APU                    - Offset        - *pal-amdhsa*

    Should be fixed, thanks for being so keen-eyed! 👍

    Reviewers
    Assignees
    bartvdbraak bartvdbraak
    Labels
    risk: low confidence: 88.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 41.0% (MEDIUM) · Higher = larger blast radius
    41.0%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 88.6% · Lower = rushed or shallow review
    88.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 4.7% · Safe to merge
    4.7%