drm/i915: initialize gt_lock early with other spin locks
authorJani Nikula <jani.nikula@linux.intel.com>
Thu, 25 Jul 2013 09:44:34 +0000 (12:44 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Jul 2013 13:39:15 +0000 (15:39 +0200)
commit14c5cec5d0cd73e7e9d4fbea2bbfeea8f3ade871
treed76b677dbeddbf1186f9cd6479c081320615b1b3
parent7d148ef51a657fd04036c3ed7803da600dd0d451
drm/i915: initialize gt_lock early with other spin locks

commit 181d1b9e31c668259d3798c521672afb8edd355c
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Jul 21 13:16:24 2013 +0200

    drm/i915: fix up gt init sequence fallout

moved dev_priv->gt_lock initialization after use. Do the initialization
much earlier with other spin lock initializations.

Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Cc: stable@vger.kernel.org (since the regressing patch is also cc: stable)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/intel_pm.c