diff options
author | Christian König <christian.koenig@amd.com> | 2017-08-18 16:50:17 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-24 18:48:42 +0300 |
commit | 2e8f9fbe985e930055eb55323b8491cc668b178f (patch) | |
tree | 00bef81123e581ae3b780287560156a80e2bddb3 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | db63042b332ae048ca640b3d1aed508973c40c8c (diff) | |
download | linux-2e8f9fbe985e930055eb55323b8491cc668b178f.tar.xz |
drm/amdgpu: fix and cleanup shadow handling
Set the shadow flag on the shadow and not the parent, always bind shadow BOs
during allocation instead of manually, use the reservation_object wrappers
to grab the lock.
This fixes a couple of issues with binding the shadow BOs as well as correctly
evicting them when memory becomes tight.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions