drm/amdgpu: Fix unaligned memory copies
authorFelix Kuehling <Felix.Kuehling@amd.com>
Sat, 13 Jul 2019 06:35:37 +0000 (02:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2019 19:49:36 +0000 (14:49 -0500)
commit9288b874c5006a22d1fbff303b812cb03241cdfb
tree4f140ddbbd4235eb827c865afc3876744e918d35
parent3bd532692d93a9c72f4f11e38437b30c0e13007f
drm/amdgpu: Fix unaligned memory copies

When starting a new mm_node, the page_offset becomes 0.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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_ttm.c