commit | 862095237c392887819e98018d6dc187d8c78726 | [log] [tgz] |
---|---|---|
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Thu Sep 07 13:23:21 2017 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Sep 12 14:23:52 2017 -0400 |
tree | 49231f545cbdf988e61bcba673037799d47643e5 | |
parent | 378e2d5b504fe0231c557751e58b80fcf717cc20 [diff] |
drm/amdgpu: Account for shadow PTs in mapping update IB size. When amdgpu_vm_frag_ptes calls amdgpu_vm_update_ptes and the pt has a shadow PT we mirror all the write to the shadow PT too, which results in twice the commands. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>