drm/amd/amdgpu: fix performance drop when VRAM pressure
authorRoger.He <Hongbo.He@amd.com>
Mon, 27 Mar 2017 11:38:11 +0000 (19:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:48 +0000 (23:55 -0400)
commitc309cd03b4e63785974481d65ffaf13ffcd75afb
tree593a2ceff1feef05dde49fa53e5b4cf8f78ed9fb
parente51a3226d48fd02b37090a01c17587944743389a
drm/amd/amdgpu: fix performance drop when VRAM pressure

When VRAM pressue and trigger huge evictions there is performance drop,
this patch fix it.

Signed-off-by: Roger.He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c