drm/amdgpu: rework shadow handling during PD clear v3
authorChristian König <christian.koenig@amd.com>
Thu, 16 Aug 2018 11:23:48 +0000 (13:23 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:48 +0000 (15:36 -0500)
commit83cd83972260de1197a80724038c8a14ee7a38f0
tree36d7c9c3d152c68c8dbad23281e7e74b905453b4
parentdb65e887fea55ba3e5ce77f7b129a0cde0e1f050
drm/amdgpu: rework shadow handling during PD clear v3

This way we only deal with the real BO in here.

v2: use a do { ... } while loop instead
v3: fix NULL pointer in v2

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c