Files
erofs-linux/drivers/gpu/drm/amd/amdgpu
Donet Tom ec4c462e2d drm/amdgpu: Fix incorrect VRAM GART mappings on non-4K page size systems
When mapping VRAM pages into the GART page table,
amdgpu_gart_map_vram_range() assumes that the system page size is the
same as the GPU page size.

On systems with non-4K page sizes, multiple GPU pages can exist within
a single CPU page. As a result, the mappings are created incorrectly
because fewer page table entries are programmed than required.

Fix this by programming the mappings correctly for non-4K page size
systems.

Fixes: 237d623ae6 ("drm/amdgpu/gart: Add helper to bind VRAM pages (v2)")
Reviewed-by: Timur Kristóf <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Donet Tom <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit a8f0bc2238)
Cc: [email protected]
2026-06-03 14:57:36 -04:00
..
2026-02-23 14:33:16 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-03-17 17:43:09 -04:00
2026-03-17 17:43:00 -04:00
…
…