[0/4] panfrost: Locking fixes
mbox series

Message ID 20190819161204.3106-1-robh@kernel.org
Headers show
Series
  • panfrost: Locking fixes
Related show

Message

Rob Herring Aug. 19, 2019, 4:12 p.m. UTC
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(-)