]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Correct the IB size of bo update mapping.
authorEmily Deng <Emily.Deng@amd.com>
Fri, 29 Dec 2017 05:13:08 +0000 (13:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 31 Dec 2017 03:24:20 +0000 (22:24 -0500)
commit8d1838e7318b987a1aa116c18c982a051b4711a9
tree06d9f0e326f8952aec540e8c6e27dda9fa3c957d
parent45e42f55771fa2076949338fcb2181431dc753da
drm/amdgpu: Correct the IB size of bo update mapping.

The amdgpu_vm_frag_ptes will call amdgpu_vm_update_ptes, and for buffer
object that has shadow buffer, need twice commands.

Signed-off-by: Emily Deng <Emily.Deng@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