diff options
author | Christian König <christian.koenig@amd.com> | 2017-08-03 11:44:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-17 15:45:57 -0400 |
commit | b636922553ee2c47b9e3955c5665b8996dfcdbd7 (patch) | |
tree | 97a685bef12391d92afbaac4fb06a17cba814359 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h | |
parent | 841e763b40764a7699ae07f4cb1921af62d6316d (diff) | |
download | linux-b636922553ee2c47b9e3955c5665b8996dfcdbd7.tar.bz2 |
drm/amdgpu: only move VM BOs in the LRU during validation v2
This should save us a bunch of command submission overhead.
v2: move the LRU move to the right place to avoid the move for the root BO
and handle the shadow BOs as well. This turned out to be a bug fix because
the move needs to happen before the kmap.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h')
0 files changed, 0 insertions, 0 deletions