[PATCH 0/4] panfrost: Locking fixes

Rob Herring robh at kernel.org
Mon Aug 19 16:12:00 UTC 2019


With further testing of recent changes with lockdep and other locking
checks enabled, we've found several bugs in the shrinker code and one
sleep while atomic in panfrost_gem_open(). This series addresses those 
issues.

Rob

Rob Herring (4):
  drm/shmem: Do dma_unmap_sg before purging pages
  drm/shmem: Use mutex_trylock in drm_gem_shmem_purge
  drm/panfrost: Fix shrinker lockdep issues using drm_gem_shmem_purge()
  drm/panfrost: Fix sleeping while atomic in panfrost_gem_open

 drivers/gpu/drm/drm_gem_shmem_helper.c           | 13 +++++++++++--
 drivers/gpu/drm/panfrost/panfrost_gem.c          | 10 ++++++----
 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c | 15 ++-------------
 include/drm/drm_gem_shmem_helper.h               |  2 +-
 4 files changed, 20 insertions(+), 20 deletions(-)

-- 
2.20.1



More information about the dri-devel mailing list