Skip to content

Commit 83dc0ba

Browse files
committed
Merge tag 'amd-drm-next-6.20-2026-01-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
amd-drm-next-6.20-2026-01-09: amdgpu: - GPUVM updates - Initial support for larger GPU address spaces - Initial SMUIO 15.x support - Documentation updates - Initial PSP 15.x support - Initial IH 7.1 support - Initial IH 6.1.1 support - SMU 13.0.12 updates - RAS updates - Initial MMHUB 3.4 support - Initial MMHUB 4.2 support - Initial GC 12.1 support - Initial GC 11.5.4 support - HDMI fixes - Panel replay improvements - DML updates - DC FP fixes - Initial SDMA 6.1.4 support - Initial SDMA 7.1 support - Userq updates - DC HPD refactor - SwSMU cleanups and refactoring - TTM memory ops parallelization - DCN 3.5 fixes - DP audio fixes - Clang fixes - Misc spelling fixes and cleanups - Initial SDMA 7.11.4 support - Convert legacy DRM logging helpers to new drm logging helpers - Initial JPEG 5.3 support - Add support for changing UMA size via the driver - DC analog fixes - GC 9 gfx queue reset support - Initial SMU 15.x support amdkfd: - Reserved SDMA rework - Refactor SPM - Initial GC 12.1 support - Initial GC 11.5.4 support - Initial SDMA 7.1 support - Initial SDMA 6.1.4 support - Increase the kfd process hash table - Per context support - Topology fixes radeon: - Convert legacy DRM logging helpers to new drm logging helpers - Use devm for i2c adapters - Variable sized array fix - Misc cleanups UAPI: - KFD context support. Proposed userspace: ROCm/rocm-systems#1705 ROCm/rocm-systems#1701 - Add userq metadata queries for more queue types. Proposed userspace: https://gitlab.freedesktop.org/yogeshmohan/mesa/-/commits/userq_query From: Alex Deucher <alexander.deucher@amd.com> Link: https://patch.msgid.link/20260109154713.3242957-1-alexander.deucher@amd.com Signed-off-by: Dave Airlie <airlied@redhat.com>
2 parents a87fef0 + 38a0f4c commit 83dc0ba

417 files changed

Lines changed: 120174 additions & 6948 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/gpu/amdgpu/amd_overview_block.svg

Lines changed: 687 additions & 0 deletions
Loading

Documentation/gpu/amdgpu/amdgpu-glossary.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ we have a dedicated glossary for Display Core at
3030
CP
3131
Command Processor
3232

33+
CPC
34+
Command Processor Compute
35+
36+
CPF
37+
Command Processor Fetch
38+
39+
CPG
40+
Command Processor Graphics
41+
3342
CPLIB
3443
Content Protection Library
3544

@@ -78,6 +87,9 @@ we have a dedicated glossary for Display Core at
7887
GMC
7988
Graphic Memory Controller
8089

90+
GPR
91+
General Purpose Register
92+
8193
GPUVM
8294
GPU Virtual Memory. This is the GPU's MMU. The GPU supports multiple
8395
virtual address spaces that can be in flight at any given time. These
@@ -92,9 +104,15 @@ we have a dedicated glossary for Display Core at
92104
table for use by the kernel driver or into per process GPUVM page tables
93105
for application usage.
94106

107+
GWS
108+
Global Wave Sync
109+
95110
IH
96111
Interrupt Handler
97112

113+
IV
114+
Interrupt Vector
115+
98116
HQD
99117
Hardware Queue Descriptor
100118

@@ -143,15 +161,24 @@ we have a dedicated glossary for Display Core at
143161
PA
144162
Primitive Assembler / Physical Address
145163

164+
PDE
165+
Page Directory Entry
166+
146167
PFP
147168
Pre-Fetch Parser (Graphics)
148169

149170
PPLib
150171
PowerPlay Library - PowerPlay is the power management component.
151172

173+
PRT
174+
Partially Resident Texture (also known as sparse residency)
175+
152176
PSP
153177
Platform Security Processor
154178

179+
PTE
180+
Page Table Entry
181+
155182
RB
156183
Render Backends. Some people called it ROPs.
157184

@@ -206,12 +233,33 @@ we have a dedicated glossary for Display Core at
206233
TC
207234
Texture Cache
208235

236+
TCP (AMDGPU)
237+
Texture Cache per Pipe. Even though the name "Texture" is part of this
238+
acronym, the TCP represents the path to memory shaders; i.e., it is not
239+
related to texture. The name is a leftover from older designs where shader
240+
stages had different cache designs; it refers to the L1 cache in older
241+
architectures.
242+
243+
TMR
244+
Trusted Memory Region
245+
246+
TMZ
247+
Trusted Memory Zone
248+
209249
TOC
210250
Table of Contents
211251

252+
UMC
253+
Unified Memory Controller
254+
212255
UMSCH
213256
User Mode Scheduler
214257

258+
UTC (AMDGPU)
259+
Unified Translation Cache. UTC is equivalent to TLB. You might see a
260+
variation of this acronym with L at the end, i.e., UTCL followed by a
261+
number; L means the cache level (e.g., UTCL1 and UTCL2).
262+
215263
UVD
216264
Unified Video Decoder
217265

Documentation/gpu/amdgpu/display/dc-glossary.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,6 @@ consider asking on the amd-gfx mailing list and update this page.
221221
TMDS
222222
Transition-Minimized Differential Signaling
223223

224-
TMZ
225-
Trusted Memory Zone
226-
227224
TTU
228225
Time to Underflow
229226

Documentation/gpu/amdgpu/driver-core.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,37 @@ VCN (Video Core Next)
7777
decode. It's exposed to userspace for user mode drivers (VA-API,
7878
OpenMAX, etc.)
7979

80+
It is important to note that these blocks can interact with each other. The
81+
picture below illustrates some of the components and their interconnection:
82+
83+
.. kernel-figure:: amd_overview_block.svg
84+
85+
In the diagram, memory-related blocks are shown in green. Notice that specific
86+
IPs have a green square that represents a small hardware block named 'hub',
87+
which is responsible for interfacing with memory. All memory hubs are connected
88+
in the UMCs, which in turn are connected to memory blocks. As a note,
89+
pre-vega devices have a dedicated block for the Graphic Memory Controller
90+
(GMC), which was replaced by UMC and hubs in new architectures. In the driver
91+
code, you can identify this component by looking for the suffix hub, for
92+
example: gfxhub, dchub, mmhub, vmhub, etc. Keep in mind that the component's
93+
interaction with the memory block may vary across architectures. For example,
94+
on Navi and newer, GC and SDMA are both attached to GCHUB; on pre-Navi, SDMA
95+
goes through MMHUB; VCN, JPEG, and VPE go through MMHUB; DCN goes through
96+
DCHUB.
97+
98+
There is some protection for certain memory elements, and the PSP plays an
99+
essential role in this area. When a specific firmware is loaded into memory,
100+
the PSP takes steps to ensure it has a valid signature. It also stores firmware
101+
images in a protected memory area named Trusted Memory Area (TMR), so the OS or
102+
driver can't corrupt them at runtime. Another use of PSP is to support Trusted
103+
Applications (TA), which are basically small applications that run on the
104+
trusted processor and handles a trusted operation (e.g., HDCP). PSP is also
105+
used for encrypted memory for content protection via Trusted Memory Zone (TMZ).
106+
107+
Another critical IP is the SMU. It handles reset distribution, as well as
108+
clock, thermal, and power management for all IPs on the SoC. SMU also helps to
109+
balance performance and power consumption.
110+
80111
.. _pipes-and-queues-description:
81112

82113
GFX, Compute, and SDMA Overall Behavior

Documentation/gpu/amdgpu/driver-misc.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,29 @@ smartshift_bias
128128

129129
.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
130130
:doc: smartshift_bias
131+
132+
UMA Carveout
133+
============
134+
135+
Some versions of Atom ROM expose available options for the VRAM carveout sizes,
136+
and allow changes to the carveout size via the ATCS function code 0xA on supported
137+
BIOS implementations.
138+
139+
For those platforms, users can use the following files under uma/ to set the
140+
carveout size, in a way similar to what Windows users can do in the "Tuning"
141+
tab in AMD Adrenalin.
142+
143+
Note that for BIOS implementations that don't support this, these files will not
144+
be created at all.
145+
146+
uma/carveout_options
147+
--------------------
148+
149+
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
150+
:doc: uma/carveout_options
151+
152+
uma/carveout
153+
--------------------
154+
155+
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
156+
:doc: uma/carveout

0 commit comments

Comments
 (0)