drm/amdgpu: improve VM state machine documentation v2
authorChristian König <christian.koenig@amd.com>
Thu, 30 Aug 2018 08:27:15 +0000 (10:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:41:03 +0000 (22:41 -0500)
commitbcdc9fd634d1f0949774690e9e79ffdfc5d094c8
tree689ac82bae4a2bc04f664aa86a8013770a0a443b
parent0a53b69cce846b42adf03ccee49ae0a37a731c20
drm/amdgpu: improve VM state machine documentation v2

Since we have a lot of FAQ on the VM state machine try to improve the
documentation by adding functions for each state move.

v2: fix typo in amdgpu_vm_bo_invalidated, use amdgpu_vm_bo_relocated in
    one more place as well.

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