drm/amdgpu: stop using BO status for user pages
authorChristian König <christian.koenig@amd.com>
Tue, 5 Sep 2017 12:30:05 +0000 (14:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:24:09 +0000 (14:24 -0400)
commitca666a3c298f838346ccea46ff542c605e68deb5
tree7ac2c1cecaaf8c52a94439604d942f6001af0cd2
parentb72cf4fca2bb786e20864b5e8755105aa9626fb4
drm/amdgpu: stop using BO status for user pages

Instead use a counter to figure out if we need to set new pages or not.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c