From: Chris Wilson Date: Wed, 9 Apr 2014 08:19:42 +0000 (+0100) Subject: drm/i915: Allow the module to load even if we fail to setup rings X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~56^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6099032045d4d83bf643b5fe33caaa8e56e7f5de;p=pandora-kernel.git drm/i915: Allow the module to load even if we fail to setup rings Even without enabling the ringbuffers to allow command execution, we can still control the display engines to enable modesetting. So make the ringbuffer initialization failure soft, and mark the GPU as wedged instead. v2: Only treat an EIO from ring initialisation as a soft failure, and abort module load for any other failure, such as allocation failures. v3: Add an *ERROR* prior to declaring the GPU wedged so that it stands out like a sore thumb in the logs Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Reviewed-by: Oscar Mateo Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed