1. 15 11月, 2011 1 次提交
  2. 14 11月, 2011 1 次提交
    • T
      drm: Remove utterly bogus preempt_disable() sections · d53dab3a
      Thomas Gleixner 提交于
      commit 27641c3f (drm/vblank: Add support for precise vblank
      timestamping) adds preempt_disable()/enable() around a spin locked
      section with the comments:
      
       * Disable preemption, so vblank_time_lock is held as short as
       * possible, even under a kernel with PREEMPT_RT patches.
      
      /* Disable preemption while holding vblank_time_lock. Do
       * it explicitely to guard against PREEMPT_RT kernel.
      
      Just that this has never been tested on a RT kernel which would have
      granted that nonsense with a might_sleep() warning because
      dev->vblank_time_lock is converted to a "sleeping" spinlock on RT.
      
      So this is activly wrong on RT and superflous on mainline. Remove it.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Acked-by: NMario Kleiner <mario.kleiner@tuebingen.mpg.de>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      d53dab3a
  3. 13 11月, 2011 1 次提交
  4. 11 11月, 2011 21 次提交
  5. 10 11月, 2011 16 次提交