From: Sean Paul Date: Fri, 16 Mar 2012 16:43:22 +0000 (-0400) Subject: drm/i915: Add wait_for in init_ring_common X-Git-Tag: v3.2.28~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e7bbc7d2d8641d1375c29aecd6636f3d670b584;p=pandora-kernel.git drm/i915: Add wait_for in init_ring_common commit f01db988ef6f6c70a6cc36ee71e4a98a68901229 upstream. I have seen a number of "blt ring initialization failed" messages where the ctl or start registers are not the correct value. Upon further inspection, if the code just waited a little bit, it would read the correct value. Adding the wait_for to these reads should eliminate the issue. Signed-off-by: Sean Paul Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed