From: Chris Wilson Date: Wed, 9 May 2012 10:56:28 +0000 (+0100) Subject: drm/i915: gen6_enable_rps() wants to be called after ring initialisation X-Git-Tag: v3.5-rc1~100^2~25^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1833b134454d5300d8a9d07b78876a20395f01a9;p=pandora-kernel.git drm/i915: gen6_enable_rps() wants to be called after ring initialisation Currently we call gen6_enable_rps() (which writes into the per-ring register mmio space) from intel_modeset_init_hw() which is called before we initialise the rings. If we defer intel_modeset_init_hw() until afterwards (in the intel_modeset_gem_init() phase) all is well. v2: Rectify ordering of gem vs display HW init upon resume. (Daniel) v3: Fix up locking. (Paulo) Signed-off-by: Chris Wilson [danvet: Smash Paulo's locking fix onto Chris' patch.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed