From: Ben Widawsky Date: Sun, 20 Mar 2011 01:14:28 +0000 (-0700) Subject: drm/i915: fix rc6 initialization on Ironlake X-Git-Tag: v3.0-rc1~312^2~4^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a246cfc3c337ecb800d508ee5ed906534edb25c;p=pandora-kernel.git drm/i915: fix rc6 initialization on Ironlake There is a race condition between setting PWRCTXA and executing MI_SET_CONTEXT. PWRCTXA must not be set until a valid context has been written (or else the GPU could possible go into rc6, and return to an invalid context). Reported-and-Tested-by: Gu Rui Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=28582 Signed-off-by: Ben Widawsky Signed-off-by: Chris Wilson Signed-off-by: Keith Packard --- Reading git-diff-tree failed