7900xtx  by tinygrad

AMD GPU documentation for the 7900XTX (Navi31/gfx1100)

created 1 year ago
449 stars

Top 68.0% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides detailed documentation and tooling for understanding the AMD Radeon RX 7900 XTX (Navi31/gfx1100) GPU architecture, focusing on its various IP blocks and firmware loading mechanisms. It's aimed at kernel developers, reverse engineers, and advanced users interested in low-level GPU operations on Linux.

How It Works

The project delves into the complex architecture of the RDNA3 GPU, breaking down its components like the Graphics Compute Unit (GC), Micro Engines (ME, MEC, MES), Command Processor (CP), and firmware loading process via the Platform Security Processor (PSP). It utilizes tools like umr (User Mode Register) to inspect hardware registers and firmware files, providing insights into driver interactions and hardware initialization.

Quick Start & Requirements

Highlighted Details

  • Detailed breakdown of RDNA3 IP blocks (GC, PSP, SMU, VCN, SDMA, etc.) with firmware versions.
  • Examples for dumping and analyzing GPU registers using umr.
  • Guidance on recompiling and loading the amdgpu kernel module with specific parameters.
  • Extensive list of firmware types and their corresponding kernel loading messages.

Maintenance & Community

  • The repository appears to be a personal documentation effort rather than a community-driven project with active maintenance or a dedicated community channel.

Licensing & Compatibility

  • The README does not specify a license. The content appears to be for informational and educational purposes.

Limitations & Caveats

  • This repository is primarily documentation and analysis; it does not provide a functional library or framework for direct GPU programming. The use of internal AMD tooling like umr might require specific access or setup.
Health Check
Last commit

3 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
8 stars in the last 90 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Georgios Konstantopoulos Georgios Konstantopoulos(CTO, General Partner at Paradigm), and
2 more.

gpu.cpp by AnswerDotAI

0.2%
4k
C++ library for portable GPU computation using WebGPU
created 1 year ago
updated 2 weeks ago
Feedback? Help us improve.