RFC drm/amdgpu: Convert to ttm_bo_vmap()
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/amdgpu: Unmap BO memory before calling amdgpu_bo_unref()drivers/ | +7 | 3 replies | |
| 2/2 | drm/amdgpu: Convert to ttm_bo_vmap() et aldrivers/ drivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] drm/amdgpu: Convert to ttm_bo_vmap()
Convert amdgpu to use ttm_bo_vmap() instead of ttm_bo_kmap(). The latter is deprecated. Passing ttm_bo_vmap()'s locking validation requires to remove the implicit unmap from the BO release path.
Smoke-tested with an Radeon RX 460.
There's similar patchset for xe at [1], which requires additional changes.
[1] https://lore.kernel.org/dri-devel/[email protected]/
Thomas Zimmermann (2):
drm/amdgpu: Unmap BO memory before calling amdgpu_bo_unref() drm/amdgpu: Convert to ttm_bo_vmap() et al
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 25 ++++++++++++++-------- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 4 +++- 2 files changed, 19 insertions(+), 10 deletions(-)
Signature · 1 line
2.45.2