This is a note to let you know that I've just added the patch titled
drm/radeon: disable tests/benchmarks if accel is disabled
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-radeon-disable-tests-benchmarks-if-accel-is-disabled.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 4a1132a023eb48cf10522d84c5908d43b612c041 Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Mon, 23 Sep 2013 10:38:26 -0400
Subject: drm/radeon: disable tests/benchmarks if accel is disabled
From: Alex Deucher <[email protected]>
commit 4a1132a023eb48cf10522d84c5908d43b612c041 upstream.
The tests are only usable if the acceleration engines have
been successfully initialized.
Based on an initial patch from: Alex Ivanov <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/gpu/drm/radeon/radeon_device.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1196,13 +1196,22 @@ int radeon_device_init(struct radeon_dev
return r;
}
if ((radeon_testing & 1)) {
- radeon_test_moves(rdev);
+ if (rdev->accel_working)
+ radeon_test_moves(rdev);
+ else
+ DRM_INFO("radeon: acceleration disabled, skipping move
tests\n");
}
if ((radeon_testing & 2)) {
- radeon_test_syncing(rdev);
+ if (rdev->accel_working)
+ radeon_test_syncing(rdev);
+ else
+ DRM_INFO("radeon: acceleration disabled, skipping sync
tests\n");
}
if (radeon_benchmarking) {
- radeon_benchmark(rdev, radeon_benchmarking);
+ if (rdev->accel_working)
+ radeon_benchmark(rdev, radeon_benchmarking);
+ else
+ DRM_INFO("radeon: acceleration disabled, skipping
benchmarks\n");
}
return 0;
}
Patches currently in stable-queue which might be from [email protected]
are
queue-3.10/drm-radeon-disable-tests-benchmarks-if-accel-is-disabled.patch
queue-3.10/drm-radeon-make-r100_cp_ring_info-and-radeon_ring_gfx-safe-v2.patch
queue-3.10/drm-radeon-add-missing-hdmi-callbacks-for-rv6xx.patch
queue-3.10/drm-radeon-avoid-uvd-corruption-on-agp-cards-using-gpu-gart.patch
queue-3.10/drm-radeon-fix-hdmi-audio-on-dce3.0-3.1-asics.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html