Skip to contentSkip to conversation

drm/amdgpu: Remove amdgpu_gem_map_attach target_dev documentation

PATCH In review Michel Dänzer 2 participants 2 messages Jun 29, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Remove amdgpu_gem_map_attach target_dev documentation

From: Michel Dänzer <[email protected]>

The parameter was removed.

Fixes a19741e5e5a9 "dma_buf: remove device parameter from attach

callback v2"

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c +0 -1
index b2286bc41aec..df7226ad64b5 100644
@@ -191,7 +191,6 @@ amdgpu_gem_prime_import_sg_table(struct drm_device *dev,
 /**
  * amdgpu_gem_map_attach - &dma_buf_ops.attach implementation
  * @dma_buf: shared DMA buffer
- * @target_dev: target device
  * @attach: DMA-buf attachment
  *
  * Makes sure that the shared DMA buffer can be accessed by the target device.
Signature · 6 lines
2.18.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20180629092950.15454-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org

Reviewed-by Junwei Zhang
#2 lore raw
Quoted 1 line · Michel Dänzer

From: Michel Dänzer <[email protected]>

Quoted 17 lines

The parameter was removed.

Fixes a19741e5e5a9 "dma_buf: remove device parameter from attach

callback v2"

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c +0 -0
index b2286bc41aec..df7226ad64b5 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c amdgpu_gem_prime_import_sg_table(struct drm_device *dev, · line 196

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c +0 -1
@@ -191,7 +191,6 @@ amdgpu_gem_prime_import_sg_table(struct drm_device *dev,
  /**
   * amdgpu_gem_map_attach - &dma_buf_ops.attach implementation
   * @dma_buf: shared DMA buffer
- * @target_dev: target device
   * @attach: DMA-buf attachment
   *
   * Makes sure that the shared DMA buffer can be accessed by the target device.

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx