diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-07-09 18:14:57 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-28 19:17:30 -0400 |
| commit | 66517ca0cd8bb6e6a649c577ca67c2ebe8c27c97 (patch) | |
| tree | d1a1c42f41cd5a1a8f550e1039cadeaf734d0a58 /tools/perf/scripts/python | |
| parent | 0b9bd593f0a2c02c505a803ebf5e7bc27515312e (diff) | |
drm/amd/display: move GPU mem helpers to services
[WHAT]
dm_allocate_gpu_mem() and dm_free_gpu_mem() are generic DM service
helpers that wrap amdgpu_bo_create_kernel()/amdgpu_bo_free_kernel()
and track allocations on adev->dm.da_list. Move them out of
amdgpu_dm.c into amdgpu_dm_services.c alongside the other dm_* service
callbacks.
Both are already public and declared in amdgpu_dm.h; their callers in
amdgpu_dm_dmub.c and amdgpu_dm_helpers.c are unaffected. No functional
change.
Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
