diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2020-01-21 17:53:53 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-31 01:15:42 +0300 |
commit | 977f7e1068be60f3cac7d80ab18692341f3b7fc5 (patch) | |
tree | 8757fc2776958d486614e857d71e9c31b88a2e6f /tools/perf/scripts/python/task-analyzer.py | |
parent | 18c6b74e7cfc9a599917d9e98f9835de8208e19a (diff) | |
download | linux-977f7e1068be60f3cac7d80ab18692341f3b7fc5.tar.xz |
drm/amdgpu: allocate entities on demand
Currently we pre-allocate entities and fences for all the HW IPs on
context creation and some of which are might never be used.
This patch tries to resolve entity/fences wastage by creating entity
only when needed.
v2: allocate memory for entity and fences together
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions