OSDN Git Service

drm/amdgpu: re-validate per VM BOs if required v2
authorChristian König <christian.koenig@amd.com>
Mon, 19 Mar 2018 10:49:14 +0000 (11:49 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:20 +0000 (13:43 -0500)
commit361883649221f975d915e4bc79907da71017f38f
tree4011c349367c3e27666089ceb61b7ed7ecfb6600
parent0808210478c76606c12bb475b3272b7780240812
drm/amdgpu: re-validate per VM BOs if required v2

If a per VM BO ends up in a allowed domain it never moves back into the
prefered domain.

v2: move the extra handling into amdgpu_vm_bo_update when we exit the
    state machine. Make memory type handling generic.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c