Alex Deucher
9c52f49545
drm/amdgpu/mmhub4.2.0: add bounds checking for cid
...
The value should never exceed the array size as those
are the only values the hardware is expected to return,
but add checks anyway.
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
(cherry picked from commit dea5f235ba )
Cc: stable@vger.kernel.org
2026-03-17 12:19:17 -04:00
Harish Kasiviswanathan
a1e0a6b552
drm/amdgpu: Set vmid0 PAGE_TABLE_DEPTH for GFX12.1
...
GFX12.1 uses 2 level gart table. Set the context register appropriately
Signed-off-by: Feifei Xu <Feifei.Xu@amd.com >
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com >
Reviewed-by: Mukul Joshi <mukul.joshi@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-02-19 12:16:11 -05:00
Philip Yang
fa0aa517de
drm/amdgpu: Add pde3 table invalidation request for GFX 12.1.0
...
Set pde3 invalidation request bit during tlb flush for up to 5 level
page table.
Signed-off-by: Philip Yang <Philip.Yang@amd.com >
Acked-by: Christian König <christian.koenig@amd.com >
Acked-by: Felix Kuehling <felix.kuehling@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-12-16 13:28:06 -05:00
Mukul Joshi
6f894c9249
drm/amdgpu: Enable retry faults for GFX 12.1
...
Enable retry faults in both GCVM/MMVM Context1 Control
and L2_PROTECTION_FAULT_CNTL2 registers for GFX 12.1.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com >
Reviewed-by: Philip Yang <Philip.Yang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-12-10 17:39:03 -05:00
Likun Gao
4af2e15c9b
drm/amdgpu: Add initial support for mmhub v4_2
...
Add initial support for mmhub v4_2_0.
v2: squash in cast fix
Signed-off-by: Likun Gao <Likun.Gao@amd.com >
Reviewed-by: Le Ma <le.ma@amd.com >
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-12-08 13:56:34 -05:00