drm/amdgpu: Correct the ndw of bo update mapping.
authorEmily Deng <Emily.Deng@amd.com>
Fri, 8 Jun 2018 08:36:22 +0000 (16:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:20:40 +0000 (12:20 -0500)
commit11528640c77891363bc7dea749ced64607aa1b22
treed0f0ab655f48494a31d0598e639bd0d01ecef102
parentb7e6cd57027f5151d4f330dfabb0182f78d26e83
drm/amdgpu: Correct the ndw of bo update mapping.

For buffer object that has shadow buffer, need twice commands.

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