Commit 455a7bc2 authored by Alex Xie's avatar Alex Xie Committed by Alex Deucher

drm/amdgpu: Fix comments in source code

Signed-off-by: default avatarAlex Xie <AlexBin.Xie@amd.com>
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ea81a173
...@@ -480,7 +480,7 @@ void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev, ...@@ -480,7 +480,7 @@ void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev,
/* /*
* amdgpu_wb_*() * amdgpu_wb_*()
* Writeback is the method by which GPU updates special pages in memory * Writeback is the method by which the GPU updates special pages in memory
* with the status of certain GPU events (fences, ring pointers,etc.). * with the status of certain GPU events (fences, ring pointers,etc.).
*/ */
...@@ -507,7 +507,7 @@ static void amdgpu_wb_fini(struct amdgpu_device *adev) ...@@ -507,7 +507,7 @@ static void amdgpu_wb_fini(struct amdgpu_device *adev)
* *
* @adev: amdgpu_device pointer * @adev: amdgpu_device pointer
* *
* Initialize writeback and allocates writeback memory (all asics). * Initializes writeback and allocates writeback memory (all asics).
* Used at driver startup. * Used at driver startup.
* Returns 0 on success or an -error on failure. * Returns 0 on success or an -error on failure.
*/ */
...@@ -615,7 +615,7 @@ void amdgpu_wb_free_64bit(struct amdgpu_device *adev, u32 wb) ...@@ -615,7 +615,7 @@ void amdgpu_wb_free_64bit(struct amdgpu_device *adev, u32 wb)
* @mc: memory controller structure holding memory informations * @mc: memory controller structure holding memory informations
* @base: base address at which to put VRAM * @base: base address at which to put VRAM
* *
* Function will place try to place VRAM at base address provided * Function will try to place VRAM at base address provided
* as parameter (which is so far either PCI aperture address or * as parameter (which is so far either PCI aperture address or
* for IGP TOM base address). * for IGP TOM base address).
* *
...@@ -637,7 +637,7 @@ void amdgpu_wb_free_64bit(struct amdgpu_device *adev, u32 wb) ...@@ -637,7 +637,7 @@ void amdgpu_wb_free_64bit(struct amdgpu_device *adev, u32 wb)
* ones) * ones)
* *
* Note: IGP TOM addr should be the same as the aperture addr, we don't * Note: IGP TOM addr should be the same as the aperture addr, we don't
* explicitly check for that thought. * explicitly check for that though.
* *
* FIXME: when reducing VRAM size align new size on power of 2. * FIXME: when reducing VRAM size align new size on power of 2.
*/ */
......
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