mirror_ubuntu-kernels/drivers/gpu/drm/amd
Zhan Liu 0dd7953234 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>
2021-03-23 23:10:49 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: fb BO should be ttm_bo_type_device 2021-03-23 23:10:42 -04:00
amdkfd drm/amdkfd: Fix UBSAN shift-out-of-bounds warning 2021-03-23 23:00:57 -04:00
display drm/amdgpu/display: Implement functions to let DC allocate GPU memory 2021-03-23 23:10:49 -04:00
include drm/amd/pm: add new data in metrics table 2021-03-23 23:00:28 -04:00
pm drm/amdgpu/swsmu: fix error return code of smu_v11_0_set_allowed_mask() 2021-03-23 23:03:18 -04:00