[Intel-gfx] [PATCH 00/12] Misc locking fixes and GEM debugging

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Tue Feb 2 11:06:18 UTC 2016


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

A collection of patches addressing locking inversions, missing
locking, un-needed atomic waiting, more precision for the latter
and adding some infrastructure to catch some of these during
driver development.

Tvrtko Ursulin (12):
  drm/i915: Add wait_for_us
  drm/i915: Do not wait atomically for display clocks
  drm/i915/guc: Do not wait for firmware load atomically
  drm/i915/lrc: Do not wait atomically when stopping engines
  drm/i915: Kconfig for extra driver debugging
  drm/i915: Do not lie about atomic wait granularity
  drm/i915: GEM operations need to be done under the big lock
  drm/i915: Fix struct mutex vs. RPS lock inversion
  drm/i915/ilk: Move register read under spinlock
  drm/i915: Introduce dedicated object VMA iterator
  drm/i915: Introduce dedicated safe object VMA iterator
  drm/i915: Add BKL asserts to get page helpers

 drivers/gpu/drm/i915/Kconfig             |  6 ++++++
 drivers/gpu/drm/i915/Kconfig.debug       | 12 +++++++++++
 drivers/gpu/drm/i915/i915_debugfs.c      |  8 +++----
 drivers/gpu/drm/i915/i915_drv.h          | 24 +++++++++++++++++++++
 drivers/gpu/drm/i915/i915_gem.c          | 30 +++++++++++++-------------
 drivers/gpu/drm/i915/i915_gem_gtt.c      |  2 +-
 drivers/gpu/drm/i915/i915_gem_shrinker.c |  5 ++---
 drivers/gpu/drm/i915/i915_gem_stolen.c   |  3 +++
 drivers/gpu/drm/i915/i915_gem_userptr.c  |  2 +-
 drivers/gpu/drm/i915/intel_display.c     | 20 +++++++++---------
 drivers/gpu/drm/i915/intel_dp.c          |  3 +--
 drivers/gpu/drm/i915/intel_drv.h         | 36 +++++++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_guc_loader.c  |  6 +++---
 drivers/gpu/drm/i915/intel_lrc.c         |  2 +-
 drivers/gpu/drm/i915/intel_pm.c          | 15 +++++++------
 drivers/gpu/drm/i915/intel_psr.c         |  2 +-
 16 files changed, 122 insertions(+), 54 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/Kconfig.debug

-- 
1.9.1



More information about the Intel-gfx mailing list