drm/radeon/benchmark: make sure bo blit copy exists before using it
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Mar 2013 16:53:13 +0000 (12:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:12:14 +0000 (12:12 -0700)
commitf16d21e7f065a30b48c1149c888a3d75da40061a
treebc5d7d4c427b33d47b5b229fe5eb1de87ddd155d
parentae7952e88f6cd5e0605501b1662283a6adb6501a
drm/radeon/benchmark: make sure bo blit copy exists before using it

commit fa8d387dc3f62062a6b4afbbb2a3438094fd8584 upstream.

Fixes a segfault on asics without a blit callback.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=62239

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_benchmark.c