drm/radeon: stop using addr to check for BO move
authorChristian König <christian.koenig@amd.com>
Tue, 26 May 2015 10:24:15 +0000 (12:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2015 04:03:39 +0000 (00:03 -0400)
commit161ab658a611df14fb0365b7b70a8c5fed3e4870
treea2ae6aa23ac524962cb45998ae6b14a32a3986bd
parent010621936103fcfc15375ccdc92c0f583923d489
drm/radeon: stop using addr to check for BO move

It is theoretically possible that a swapped out BO gets the
same GTT address, but different backing pages while being swapped in.

Instead just use another VA state to note updated areas.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_vm.c