commit | 544143f9e01a60a93eb00ab4bfcb9bf4702a2a7d | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Wed Jan 28 14:36:26 2015 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Feb 02 11:39:33 2015 -0500 |
tree | eee96f3a01586bdbafbceca451d2300f87d7268a | |
parent | 72edd83cc9e5819ed1ee771519143d7594e059f0 [diff] |
drm/radeon: don't init gpuvm if accel is disabled (v3) 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 v3: handle bo_open/close 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