summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2022-11-29 12:45:26 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 09:51:06 -0400
commitc9a502e981a961053f3f873b14677d95e804251e (patch)
tree9c6cfd359ba98249e0242c21c2a92a41dbf7f744 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
parent34fd9d686772f6725242e900913ca2be987c12dd (diff)
drm/amdgpu: Allocate GART table in RAM for AMD APU
Some AMD APUs may not have a dedicated VRAM. On such platforms the GART table should be allocated on the system memory. When real vram size is zero, place the GART table in system memory and create an SG BO to make it GPU accessible. v2: fix includes Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> (rajneesh: removed set_memory_wc workaround) Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
0 files changed, 0 insertions, 0 deletions