drm/radeon: fix S/R on VM systems (cayman/TN/SI)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Mar 2013 19:32:26 +0000 (15:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Mar 2013 22:47:16 +0000 (18:47 -0400)
commitfa3daf9aa74a3ac1c87d8188a43d283d06720032
treec823eb1a46cb57a70953546b74cf348e7b161f97
parent8698080ee092bdbd6ee2cd5e7f707ceea2812bd8
drm/radeon: fix S/R on VM systems (cayman/TN/SI)

We weren't properly tearing down the VM sub-alloctor
on suspend leading to bogus VM PTs on resume.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=60439

Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Dmitry Cherkasov <Dmitrii.Cherkasov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/si.c