From: Jerome Glisse Date: Mon, 20 Feb 2012 22:57:20 +0000 (-0500) Subject: drm/radeon/kms: properly set accel working flag and bailout when false X-Git-Tag: v3.3-rc5~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b7746e8768e1c550b320d5af761f73e5aa37f76;p=pandora-kernel.git drm/radeon/kms: properly set accel working flag and bailout when false If accel is not working many subsystem such as the ib pool might not be initialized properly that can lead to segfault inside kernel when cs ioctl is call with non working acceleration. To avoid this make sure the accel working flag is false when an error in GPU startup happen and return EBUSY from cs ioctl if accel is not working. Signed-off-by: Jerome Glisse Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed