]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: disable tests/benchmarks if accel is disabled
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Sep 2013 14:38:26 +0000 (10:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 14:17:58 +0000 (07:17 -0700)
commit187bf34e7fa47d87f55d5af6afe1645cfdd9fc27
treebf37b187d98c774a117fab5e211af9c3c470f270
parent9f5862c0664cf371dc040f0e84fa23754a34ce67
drm/radeon: disable tests/benchmarks if accel is disabled

commit 4a1132a023eb48cf10522d84c5908d43b612c041 upstream.

The tests are only usable if the acceleration engines have
been successfully initialized.

Based on an initial patch from: Alex Ivanov <gnidorah@p0n4ik.tk>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_device.c