aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/scheduler
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-08-18 15:50:17 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-08-29 15:27:40 -0400
commitcf273a59ca3068caced2adaf2deeb44d2013c8a9 (patch)
tree1cff68f7bef6c0c112137954dafd259aff323764 /drivers/gpu/drm/amd/scheduler
parent83e74db6a81daff277732bdd00b438ede2107c68 (diff)
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 'drivers/gpu/drm/amd/scheduler')
0 files changed, 0 insertions, 0 deletions