Skip to content

Support module unload and hotunplug

Zack Rusin dri-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v15 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/vmwgfx: Remove the deprecated lower mem limitdrivers/gpu/drm/vmwgfx/ttm_memory.c drivers/gpu/drm/vmwgfx/ttm_memory.h+2 -1030 replies
2/6drm/vmwgfx: Release ttm memory if probe failsdrivers/gpu/drm/vmwgfx/vmwgfx_drv.c+16 -100 replies
3/6drm/vmwgfx: Fail to initialize on broken configsdrivers/gpu/drm/vmwgfx/vmwgfx_cmd.c+7 -00 replies
4/6drm/vmwgfx: Introduce a new placement for MOB page tablesdrivers/gpu/drm/vmwgfx/Makefile drivers/gpu/drm/vmwgfx/vmwgfx_drv.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +2 more+138 -380 replies
5/6drm/vmwgfx: Switch the internal BO's to ttm_bo_type_kerneldrivers/gpu/drm/vmwgfx/vmwgfx_bo.c+1 -10 replies
6/6drm/ttm: Clarify that the TTM_PL_SYSTEM buffers need to stay idleinclude/drm/ttm/ttm_placement.h+10 -017 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMartin KrastevChristian König
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] Support module unload and hotunplug

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 <[email protected]>
Cc Thomas Hellström <[email protected]>

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
Signature · 1 line
2.32.0