Partially revert "drm/i915: s/mdelay/msleep/" in ilk rps code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Jul 2015 08:58:21 +0000 (10:58 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Jul 2015 08:59:38 +0000 (10:59 +0200)
commitdd92d8de833613993b337cb4ff853587e1600aef
tree61648bc81cdf4a240c45bf93203ec9f9fb8153cb
parente0548f1979bfee900fb0671a5dd3a2f217dce5df
Partially revert "drm/i915: s/mdelay/msleep/" in ilk rps code

This reverts commit 6adfb1ef106bfe4b5ecb8bd75c4d037741d28a48.

Ironlake RPS code runs under an irqsave spinlock and hence sleeping
isn't allowed. Not a this long delay while blocking irqs isn't great
at all, but fixing the locking scheme is a lot more involved.

So just revert for now.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reported-by: kernel test robot <ying.huang@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_pm.c