Skip to content

drm/amd: Avoid using import_attach directly

Thomas Zimmermann amd-gfx dri-devel 2 versions – Applied

Status from this message: Applied. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- keep amdgpu_bo_print_info() as-is (Christian)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm/amdgpu: Test for imported buffers with drm_gem_is_imported()drivers/gpu/drm/amd/amdgpu/amdgpu_display.c drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +3 more+12 -120 replies
2/2drm/amdgpu: Use dma_buf from GEM object instancedrivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c+3 -40 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristian König
SeriesR-b
1/2
2/2

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/2] drm/amd: Avoid using import_attach directly

The field import_attach of struct drm_gem_object is often only required by PRIME code. In other places, replace its use with clearer alternatives.

v2:
- keep amdgpu_bo_print_info() as-is (Christian)

Thomas Zimmermann (2):
drm/amdgpu: Test for imported buffers with drm_gem_is_imported() drm/amdgpu: Use dma_buf from GEM object instance

 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c |  4 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c     |  5 ++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c  | 10 +++++-----
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c     |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c      |  6 +++---
 6 files changed, 14 insertions(+), 15 deletions(-)
Signature · 1 line
2.50.0