From: Alex Deucher Date: Wed, 28 Jan 2015 19:36:26 +0000 (-0500) Subject: drm/radeon: don't init gpuvm if accel is disabled (v3) X-Git-Tag: fixes-v4.0-rc1~202^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=544143f9e01a60a93eb00ab4bfcb9bf4702a2a7d;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org --- Reading git-diff-tree failed