[Intel-gfx] [PULL] drm-misc-fixes

Thomas Zimmermann
2021-11-11T08:48:48Z

Hi Dave and Daniel,

here's this week's PR for drm-misc-fixes. I'm sending it as Maarten and
Maxime are both on vacation this week.

Best regards
Thomas

drm-misc-fixes-2021-11-11:
* dma-buf: name_lock fixes
* prime: Keep object ref during mmap
* nouveau: Fix a refcount issue; Fix device removal; Protect client
list with dedicated mutex; Fix address CE0 address calculation
* ttm: Fix race condition during BO eviction
The following changes since commit 61b1d445f3bfe4c3ba4335ceeb7e8ba688fd31e2:

drm: panel-orientation-quirks: Add quirk for GPD Win3 (2021-10-26 20:57:10 +0200)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2021-11-11

for you to fetch changes up to 7120a447c7fe37a123ab7a63afefdbf0787b9002:

drm/ttm: Double check mem_type of BO while eviction (2021-11-11 09:08:08 +0100)

----------------------------------------------------------------
* dma-buf: name_lock fixes
* prime: Keep object ref during mmap
* nouveau: Fix a refcount issue; Fix device removal; Protect client
list with dedicated mutex; Fix address CE0 address calculation
* ttm: Fix race condition during BO eviction

----------------------------------------------------------------
Anand K Mistry (1):
drm/prime: Fix use after free in mmap with drm_gem_ttm_mmap

Ben Skeggs (1):
ce/gf100: fix incorrect CE0 address calculation on some GPUs

Chenyuan Mi (1):
drm/nouveau/svm: Fix refcount leak bug and missing check against null bug

Guangming Cao (1):
dma-buf: acquire name lock before read/write dma_buf.name

Jeremy Cline (3):
drm/nouveau: use drm_dev_unplug() during device removal
drm/nouveau: Add a dedicated mutex for the clients list
drm/nouveau: clean up all clients on device removal

xinhui pan (1):
drm/ttm: Double check mem_type of BO while eviction

drivers/dma-buf/dma-buf.c | 3 ++
drivers/gpu/drm/drm_prime.c | 6 ++--
drivers/gpu/drm/nouveau/nouveau_drm.c | 42 ++++++++++++++++++++---
drivers/gpu/drm/nouveau/nouveau_drv.h | 5 +++
drivers/gpu/drm/nouveau/nouveau_svm.c | 4 +++
drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 3 +-
drivers/gpu/drm/ttm/ttm_bo.c | 3 +-
8 files changed, 57 insertions(+), 11 deletions(-)

--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev