drm/amd/amdgpu: Assign GART pages to AMD device mapping
authorTom St Denis <tom.stdenis@amd.com>
Wed, 17 Jan 2024 17:47:37 +0000 (12:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jan 2024 19:48:52 +0000 (14:48 -0500)
commit8352ca1090d1dec835bc91c01e80883ad65aae6a
treeab7190dfcd8b544cd9d4057d0665a0a7ed60386c
parent8d1717fb647d4d91e4342c3c9f6c9745f17dd5c0
drm/amd/amdgpu: Assign GART pages to AMD device mapping

This allows kernel mapped pages like the PDB and PTB to be
read via the iomem debugfs when there is no vram in the system.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c