[PATCH v2 0/6] Support module unload and hotunplug
Zack Rusin
zackr at vmware.com
Fri Nov 5 19:38:41 UTC 2021
v2: Introduces a TTM documentation change to clarify the discussion that
happened after the first version of this series was sent.
Also, removing pointless "unlikely" in the "Introduce a new placement for
MOB page tables" commit that Thomas noticed.
This is a largely trivial set that makes vmwgfx support module reload
and PCI hot-unplug. It also makes IGT's core_hotunplug pass instead
of kernel oops'ing.
Cc: Christian König <christian.koenig at amd.com>
Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Zack Rusin (6):
drm/vmwgfx: Remove the deprecated lower mem limit
drm/vmwgfx: Release ttm memory if probe fails
drm/vmwgfx: Fail to initialize on broken configs
drm/vmwgfx: Introduce a new placement for MOB page tables
drm/vmwgfx: Switch the internal BO's to ttm_bo_type_kernel
drm/ttm: Clarify that the TTM_PL_SYSTEM buffers need to stay idle
drivers/gpu/drm/vmwgfx/Makefile | 2 +-
drivers/gpu/drm/vmwgfx/ttm_memory.c | 99 +------------------
drivers/gpu/drm/vmwgfx/ttm_memory.h | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c | 7 ++
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 40 +++++---
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 12 ++-
.../gpu/drm/vmwgfx/vmwgfx_system_manager.c | 90 +++++++++++++++++
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 58 +++++------
include/drm/ttm/ttm_placement.h | 10 ++
10 files changed, 174 insertions(+), 152 deletions(-)
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c
--
2.32.0
More information about the dri-devel
mailing list