[PATCH 0/4] panfrost: Locking fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux