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:06:54 +0000 (07:06 -0700)
commit74c2478cbbeb55d62e4c0d224949cd6b0a963986
treea67f8f2c7471683605da387cdae3bf1bedee3eed
parentcadf1b81a7021b26241819d0a360e22609b57a4b
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