diff options
author | Zhan Liu <zhan.liu@amd.com> | 2021-03-09 04:20:44 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-24 06:10:49 +0300 |
commit | 0dd795323405680f68cc16a471d19bc3369cc519 (patch) | |
tree | 3ccce3d9dae826fe413e51b5430b714ea171458d /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | |
parent | 89551f2387f5bc3c7b8ea0696b467529f6c86f53 (diff) | |
download | linux-0dd795323405680f68cc16a471d19bc3369cc519.tar.xz |
drm/amdgpu/display: Implement functions to let DC allocate GPU memory
[Why]
DC needs to communicate with PM FW through GPU memory. In order
to do so we need to be able to allocate memory from within DC.
[How]
Call amdgpu_bo_create_kernel to allocate GPU memory and use a
list in amdgpu_display_manager to track our allocations so we
can clean them up later.
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c')
0 files changed, 0 insertions, 0 deletions