drm/amdgpu: add amdgpu_ttm_bo_eviction_valuable callback
authorChristian König <christian.koenig@amd.com>
Wed, 19 Oct 2016 12:44:22 +0000 (14:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:44:04 +0000 (14:44 -0400)
commit9982ca681e430907cb7f4e19e2ae4845031d5d59
treed28be384814fa4cdcb1978ac2b3cc58d82395c92
parenta2ab19fed9d1dc5a7a2ced44f4b289885c522a8f
drm/amdgpu: add amdgpu_ttm_bo_eviction_valuable callback

This way we can correctly check split VRAM buffers as well.

Signed-off-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_ttm.c