diff options
author | Felix Kuehling <[email protected]> | 2022-11-29 12:45:26 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-06-09 09:51:06 -0400 |
commit | c9a502e981a961053f3f873b14677d95e804251e (patch) | |
tree | 9c6cfd359ba98249e0242c21c2a92a41dbf7f744 /rust/helpers.c | |
parent | 34fd9d686772f6725242e900913ca2be987c12dd (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 <[email protected]>
(rajneesh: removed set_memory_wc workaround)
Signed-off-by: Rajneesh Bhardwaj <[email protected]>
Signed-off-by: Harish Kasiviswanathan <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions