Commit 6333a495 authored by Yifan Zhang's avatar Yifan Zhang Committed by Alex Deucher

drm/amdgpu: correct comments in memory type managers

The parameters were renamed.
Signed-off-by: default avatarYifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent cc947bf9
...@@ -118,7 +118,7 @@ bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_resource *res) ...@@ -118,7 +118,7 @@ bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_resource *res)
* @man: TTM memory type manager * @man: TTM memory type manager
* @tbo: TTM BO we need this range for * @tbo: TTM BO we need this range for
* @place: placement flags and restrictions * @place: placement flags and restrictions
* @mem: the resulting mem object * @res: the resulting mem object
* *
* Dummy, allocate the node but no space for it yet. * Dummy, allocate the node but no space for it yet.
*/ */
...@@ -182,7 +182,7 @@ static int amdgpu_gtt_mgr_new(struct ttm_resource_manager *man, ...@@ -182,7 +182,7 @@ static int amdgpu_gtt_mgr_new(struct ttm_resource_manager *man,
* amdgpu_gtt_mgr_del - free ranges * amdgpu_gtt_mgr_del - free ranges
* *
* @man: TTM memory type manager * @man: TTM memory type manager
* @mem: TTM memory object * @res: TTM memory object
* *
* Free the allocated GTT again. * Free the allocated GTT again.
*/ */
......
...@@ -361,7 +361,7 @@ static void amdgpu_vram_mgr_virt_start(struct ttm_resource *mem, ...@@ -361,7 +361,7 @@ static void amdgpu_vram_mgr_virt_start(struct ttm_resource *mem,
* @man: TTM memory type manager * @man: TTM memory type manager
* @tbo: TTM BO we need this range for * @tbo: TTM BO we need this range for
* @place: placement flags and restrictions * @place: placement flags and restrictions
* @mem: the resulting mem object * @res: the resulting mem object
* *
* Allocate VRAM for the given BO. * Allocate VRAM for the given BO.
*/ */
...@@ -487,7 +487,7 @@ static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man, ...@@ -487,7 +487,7 @@ static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man,
* amdgpu_vram_mgr_del - free ranges * amdgpu_vram_mgr_del - free ranges
* *
* @man: TTM memory type manager * @man: TTM memory type manager
* @mem: TTM memory object * @res: TTM memory object
* *
* Free the allocated VRAM again. * Free the allocated VRAM again.
*/ */
...@@ -522,7 +522,7 @@ static void amdgpu_vram_mgr_del(struct ttm_resource_manager *man, ...@@ -522,7 +522,7 @@ static void amdgpu_vram_mgr_del(struct ttm_resource_manager *man,
* amdgpu_vram_mgr_alloc_sgt - allocate and fill a sg table * amdgpu_vram_mgr_alloc_sgt - allocate and fill a sg table
* *
* @adev: amdgpu device pointer * @adev: amdgpu device pointer
* @mem: TTM memory object * @res: TTM memory object
* @offset: byte offset from the base of VRAM BO * @offset: byte offset from the base of VRAM BO
* @length: number of bytes to export in sg_table * @length: number of bytes to export in sg_table
* @dev: the other device * @dev: the other device
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment