drm/amdgpu: fix BO move offsets
authorChristian König <christian.koenig@amd.com>
Wed, 21 Sep 2016 07:38:14 +0000 (09:38 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Sep 2016 20:16:24 +0000 (16:16 -0400)
commitad78069c333b6d80958794d073d85f7c428a2213
tree9236f661ca2bcfb2c0ef624329618104fd84d4c1
parent98b480dba9d9c502480a69396c4f06698fcdaac1
drm/amdgpu: fix BO move offsets

It's pretty pointless to get the offset first and then initialize it.

Should fix issues with the new GTT manager.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c