]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57bdac1f6669a1e29c819d8fd9a35adc56a80130
tree4011c349367c3e27666089ceb61b7ed7ecfb6600
parent4b8c63a00d88385d5f3dc24a66fec53567674cb3
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