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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Sep 2013 14:53:18 +0000 (10:53 -0400)
commit4a1132a023eb48cf10522d84c5908d43b612c041
tree7908dde92fed0bde1ae75e92fb7ea9bdaa68e710
parent360991867d83e10827d907ef67206986a98953b3
drm/radeon: disable tests/benchmarks if accel is disabled

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_device.c