diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-01-28 14:36:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-11 15:00:54 +0800 |
commit | 2a1398b3317fbc5d2efe1c0089dc56414286dc6b (patch) | |
tree | aad1a64563a473c09024d448db3d3aa6290d7d14 /drivers/devfreq/governor_simpleondemand.c | |
parent | 7bb9e4a06e12583f1418b669dc45bb3ee84496c6 (diff) |
drm/radeon: don't init gpuvm if accel is disabled (v3)
commit 544143f9e01a60a93eb00ab4bfcb9bf4702a2a7d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/devfreq/governor_simpleondemand.c')
0 files changed, 0 insertions, 0 deletions