Skip to contentSkip to conversation

drm-misc-fixes

GIT PULL Thomas Zimmermann 1 participant 1 message Jul 22, 2021

lore
Share & tools
lore
#0 lore raw

Hi Dave and Daniel,

here's the PR for drm-misc-fixes. There's a UAPI change where -ENOTTY is now being returned for non-DRM ioctls.

Best regards
Thomas

drm-misc-fixes-2021-07-22:
Short summary of fixes pull:

* Return -ENOTTY for non-DRM ioctls
* amdgpu: Fix COW checks
* nouveau: init BO GME fields
* panel: Avoid double free
* ttm: Fix refcounting in ttm_global_init(); NULL checks
* vc4: Fix interrupt handling
The following changes since commit 9e5c772954406829e928dbe59891d08938ead04b:

drm/ttm: add a check against null pointer dereference (2021-07-14 17:16:16 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 7bbcb919e32d776ca8ddce08abb391ab92eef6a9:

drm/panel: raspberrypi-touchscreen: Prevent double-free (2021-07-22 11:37:03 +0200)

----------------------------------------------------------------
Short summary of fixes pull:

* Return -ENOTTY for non-DRM ioctls
* amdgpu: Fix COW checks
* nouveau: init BO GME fields
* panel: Avoid double free
* ttm: Fix refcounting in ttm_global_init(); NULL checks
* vc4: Fix interrupt handling

----------------------------------------------------------------
Charles Baylis (1):
drm: Return -ENOTTY for non-drm ioctls

Christian König (1):
drm/nouveau: init the base GEM fields for internal BOs

Felix Kuehling (1):
drm/amdgpu: workaround failed COW checks for Thunk VMAs

Jason Ekstrand (1):
drm/ttm: Force re-init if ttm_global_init() fails

Maxime Ripard (2):
drm/vc4: hdmi: Drop devm interrupt handler for CEC interrupts drm/panel: raspberrypi-touchscreen: Prevent double-free

Pavel Skripkin (1):
drm/ttm: add missing NULL checks

 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            |  9 ++++
 drivers/gpu/drm/drm_ioctl.c                        |  3 ++
 drivers/gpu/drm/nouveau/nouveau_bo.c               |  6 +++
 .../gpu/drm/panel/panel-raspberrypi-touchscreen.c  |  1 -
 drivers/gpu/drm/ttm/ttm_bo.c                       |  3 ++
 drivers/gpu/drm/ttm/ttm_bo_util.c                  |  3 ++
 drivers/gpu/drm/ttm/ttm_device.c                   |  2 +
 drivers/gpu/drm/vc4/vc4_hdmi.c                     | 49 +++++++++++++++-------
 include/drm/drm_ioctl.h                            |  1 +
 9 files changed, 60 insertions(+), 17 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: Felix Imendörffer