From: Jérôme Glisse Date: Wed, 7 May 2014 20:35:24 +0000 (-0400) Subject: drm/radeon: avoid segfault on device open when accel is not working. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~149^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24f47acc78b0ab5e2201f859fe1f693ae90c7c83;p=pandora-kernel.git drm/radeon: avoid segfault on device open when accel is not working. When accel is not working on device with virtual address space radeon segfault because the ib buffer is NULL and trying to map it inside the virtual address space trigger segfault. This patch only map the ib buffer if accel is working. Cc: Signed-off-by: Jérôme Glisse Reviewed-by: Alex Deucher Signed-off-by: Christian König --- Reading git-diff-tree failed