OSDN Git Service

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)
commit104bd2ca1124dfd9aa904d5f5a96253ef2b580f6
tree06d9f0e326f8952aec540e8c6e27dda9fa3c957d
parentdc947770cf3400dd07ed2e2b7b9acb4f96d5137f
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