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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Mar 2013 22:47:17 +0000 (18:47 -0400)
commitfa8d387dc3f62062a6b4afbbb2a3438094fd8584
treec4db110cbbe964966565eb574591aff8034a1950
parent8f612b23a17dce86fef75407e698de6243cc99a1
drm/radeon/benchmark: make sure bo blit copy exists before using it

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