aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Xie <AlexBin.Xie@amd.com>2017-05-08 21:36:03 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 17:40:31 -0400
commit455a7bc27c2118c7e0531b7502dedc80ed2f9d40 (patch)
treec950cf43fd33459f5e0387c349a616af53f57a01 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentea81a173ff2d4ac2807d016715cdc89c1656b20e (diff)
drm/amdgpu: Fix comments in source code
Signed-off-by: Alex Xie <AlexBin.Xie@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 4ca5af0e2bc6..e4d9aa470278 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -480,7 +480,7 @@ void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev,
480 480
481/* 481/*
482 * amdgpu_wb_*() 482 * amdgpu_wb_*()
483 * Writeback is the method by which GPU updates special pages in memory 483 * Writeback is the method by which the GPU updates special pages in memory
484 * with the status of certain GPU events (fences, ring pointers,etc.). 484 * with the status of certain GPU events (fences, ring pointers,etc.).
485 */ 485 */
486 486
@@ -507,7 +507,7 @@ static void amdgpu_wb_fini(struct amdgpu_device *adev)
507 * 507 *
508 * @adev: amdgpu_device pointer 508 * @adev: amdgpu_device pointer
509 * 509 *
510 * Initialize writeback and allocates writeback memory (all asics). 510 * Initializes writeback and allocates writeback memory (all asics).
511 * Used at driver startup. 511 * Used at driver startup.
512 * Returns 0 on success or an -error on failure. 512 * Returns 0 on success or an -error on failure.
513 */ 513 */
@@ -615,7 +615,7 @@ void amdgpu_wb_free_64bit(struct amdgpu_device *adev, u32 wb)
615 * @mc: memory controller structure holding memory informations 615 * @mc: memory controller structure holding memory informations
616 * @base: base address at which to put VRAM 616 * @base: base address at which to put VRAM
617 * 617 *
618 * Function will place try to place VRAM at base address provided 618 * Function will try to place VRAM at base address provided
619 * as parameter (which is so far either PCI aperture address or 619 * as parameter (which is so far either PCI aperture address or
620 * for IGP TOM base address). 620 * for IGP TOM base address).
621 * 621 *
@@ -637,7 +637,7 @@ void amdgpu_wb_free_64bit(struct amdgpu_device *adev, u32 wb)
637 * ones) 637 * ones)
638 * 638 *
639 * Note: IGP TOM addr should be the same as the aperture addr, we don't 639 * Note: IGP TOM addr should be the same as the aperture addr, we don't
640 * explicitly check for that thought. 640 * explicitly check for that though.
641 * 641 *
642 * FIXME: when reducing VRAM size align new size on power of 2. 642 * FIXME: when reducing VRAM size align new size on power of 2.
643 */ 643 */