diff options
| author | Christian König <[email protected]> | 2017-08-18 13:50:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-08-29 19:27:40 +0000 |
| commit | cf273a59ca3068caced2adaf2deeb44d2013c8a9 (patch) | |
| tree | 1cff68f7bef6c0c112137954dafd259aff323764 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
| parent | drm/amdgpu: add automatic per asic settings for gart_size (diff) | |
| download | kernel-cf273a59ca3068caced2adaf2deeb44d2013c8a9.tar.gz kernel-cf273a59ca3068caced2adaf2deeb44d2013c8a9.zip | |
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 <[email protected]>
Reviewed-by: Chunming Zhou <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions
