summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDonet Tom <donettom@linux.ibm.com>2026-05-27 18:49:31 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 14:02:04 -0400
commita8f0bc22388f74e0cf4ed8b7d1846c580eaf44cc (patch)
treee07e4f92b45f2c879c3e26433c55424ba8170cb2 /include/linux/debugobjects.h
parentcd0e76a2f60e158534fddd0052e0ea8a6d50f247 (diff)
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: 237d623ae659 ("drm/amdgpu/gart: Add helper to bind VRAM pages (v2)") Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Donet Tom <donettom@linux.ibm.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions