1. 10 4月, 2015 1 次提交
    • D
      drm/i915: Fix locking in DRRS flush/invalidate hooks · 9da7d693
      Daniel Vetter 提交于
      We must acquire the mutex before we can check drrs.dp, otherwise
      someone might sneak in with a modeset, clear the pointer after we've
      checked it and then the code will Oops.
      
      This issue has been introduced in
      
      commit a93fad0f
      Author: Vandana Kannan <vandana.kannan@intel.com>
      Date:   Sat Jan 10 02:25:59 2015 +0530
      
          drm/i915: DRRS calls based on frontbuffer
      
      v2: Don't blow up on uninitialized mutex and work item by checking
      whether DRRS is support or not first. Also unconditionally initialize
      the mutex/work item to avoid future trouble.
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Ramalingam C <ramalingam.c@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Vandana Kannan <vandana.kannan@intel.com>
      Cc: stable@vger.kernel.org (4.0+ only)
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Tested-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      9da7d693
  2. 30 3月, 2015 8 次提交
  3. 29 3月, 2015 9 次提交
  4. 28 3月, 2015 3 次提交
  5. 27 3月, 2015 19 次提交