OSDN Git Service

drm/radeon: reset BOs address after clearing it.
authorChristian König <christian.koenig@amd.com>
Mon, 27 Apr 2015 15:04:35 +0000 (17:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2015 12:14:31 +0000 (05:14 -0700)
commite488a25194bbbb0e4e472cf30932db3e467dc3a9
treef2f641bf3de660101b5c5114958023c708eeeacd
parent01c74f735d649f061287190a289bbbee000bd2a2
drm/radeon: reset BOs address after clearing it.

commit 48afbd70ac7b6aa62e8d452091023941d8085f8a upstream.

Otherwise it is possible that we will have page table corruption
if we change a BOs address multiple times.

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