On 30.01.2015 00:35, Alex Deucher wrote:
If acceleration is disabled, it does not make sense to init gpuvm since nothing will use it. Moreover, if radeon_vm_init() gets called it uses accel to try and clear the pde tables, etc. which results in a bug.
v2: handle vm_fini as well
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88786
Signed-off-by: Alex Deucher alexander.deucher@amd.com Cc: stable@vger.kernel.org
Reviewed-by: Michel Dänzer michel.daenzer@amd.com